[Spice-devel] [PATCH spice-server] tests: Allows to detect loop leaks in test-leaks

Frediano Ziglio fziglio at redhat.com
Wed Mar 1 17:09:55 UTC 2017


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/tests/test-leaks.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/tests/test-leaks.c b/server/tests/test-leaks.c
index cd96bc8..b8521f4 100644
--- a/server/tests/test-leaks.c
+++ b/server/tests/test-leaks.c
@@ -47,6 +47,7 @@ static void leaks(void)
     g_assert_cmpint(result, ==, 0);
 
     spice_server_destroy(server);
+    basic_event_loop_destroy();
 }
 
 int main(int argc, char *argv[])
-- 
2.9.3



More information about the Spice-devel mailing list