From: Stef Walter Date: Sat, 9 Nov 2013 19:25:07 +0000 (+0100) Subject: asyncqueue-test: Fix leaks in tests X-Git-Tag: 2.39.1~58 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a67fb903f394fc884fbacd2f54392632db2b898;p=platform%2Fupstream%2Fglib.git asyncqueue-test: Fix leaks in tests https://bugzilla.gnome.org/show_bug.cgi?id=711751 --- diff --git a/tests/asyncqueue-test.c b/tests/asyncqueue-test.c index cc598de..84d7810 100644 --- a/tests/asyncqueue-test.c +++ b/tests/asyncqueue-test.c @@ -237,5 +237,9 @@ main (int argc, char *argv[]) main_loop = g_main_loop_new (NULL, FALSE); g_main_loop_run (main_loop); + g_main_loop_unref (main_loop); + g_thread_pool_free (thread_pool, TRUE, TRUE); + g_async_queue_unref (async_queue); + return EXIT_SUCCESS; }