[glib/wip/gcleanup] gtestdbus: Fix leak of GMainLoop
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gcleanup] gtestdbus: Fix leak of GMainLoop
- Date: Sat, 9 Nov 2013 19:56:41 +0000 (UTC)
commit c475aa097e0ade422a5ffe995b62a33261bb94be
Author: Stef Walter <stefw gnome org>
Date: Sat Nov 9 20:19:44 2013 +0100
gtestdbus: Fix leak of GMainLoop
gio/gtestdbus.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/gtestdbus.c b/gio/gtestdbus.c
index baa556a..42c3496 100644
--- a/gio/gtestdbus.c
+++ b/gio/gtestdbus.c
@@ -104,6 +104,7 @@ _g_object_dispose_and_wait_weak_notify (gpointer object)
g_source_remove (timeout_id);
}
+ g_main_loop_unref (data.loop);
return data.timed_out;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]