projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e525586
)
asyncqueue-test: Fix leaks in tests
author
Stef Walter
<stefw@gnome.org>
Sat, 9 Nov 2013 19:25:07 +0000
(20:25 +0100)
committer
Stef Walter
<stefw@gnome.org>
Sun, 10 Nov 2013 21:40:58 +0000
(22:40 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=711751
tests/asyncqueue-test.c
patch
|
blob
|
history
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;
}