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:
3e041ce
)
threadpool-test: Fix leaks in tests
author
Stef Walter
<stefw@gnome.org>
Sat, 9 Nov 2013 19:53:32 +0000
(20:53 +0100)
committer
Stef Walter
<stefw@gnome.org>
Mon, 11 Nov 2013 16:37:48 +0000
(17:37 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=711751
tests/threadpool-test.c
patch
|
blob
|
history
diff --git
a/tests/threadpool-test.c
b/tests/threadpool-test.c
index
71f8a68
..
1c8aa06
100644
(file)
--- a/
tests/threadpool-test.c
+++ b/
tests/threadpool-test.c
@@
-457,6
+457,8
@@
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 (idle_pool, FALSE, TRUE);
return 0;
}