[glib] threadpool-test: Fix leaks in tests
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] threadpool-test: Fix leaks in tests
- Date: Mon, 11 Nov 2013 16:39:11 +0000 (UTC)
commit d10f35310ffb50edca7efef25071c52f45683160
Author: Stef Walter <stefw gnome org>
Date: Sat Nov 9 20:53:32 2013 +0100
threadpool-test: Fix leaks in tests
https://bugzilla.gnome.org/show_bug.cgi?id=711751
tests/threadpool-test.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tests/threadpool-test.c b/tests/threadpool-test.c
index 71f8a68..1c8aa06 100644
--- 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]