[glib/wip/gcleanup] asyncqueue-test: Fix leaks in tests
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gcleanup] asyncqueue-test: Fix leaks in tests
- Date: Sat, 9 Nov 2013 19:57:36 +0000 (UTC)
commit 0521d6189859aaf3facb3de7b43aacec3be7d357
Author: Stef Walter <stefw gnome org>
Date: Sat Nov 9 20:25:07 2013 +0100
asyncqueue-test: Fix leaks in tests
tests/asyncqueue-test.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]