projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
asyncqueue-test: Fix leaks in tests
[platform/upstream/glib.git]
/
tests
/
asyncqueue-test.c
diff --git
a/tests/asyncqueue-test.c
b/tests/asyncqueue-test.c
index
cc598de
..
84d7810
100644
(file)
--- 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;
}