From 3940cc9a11fde063bb9f83cc362e575e5f378609 Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Tue, 3 Aug 2010 11:14:21 -0400 Subject: [PATCH] GDBusProxy: Don't leak a GSimpleAsyncResult when doing async calls Signed-off-by: David Zeuthen --- gio/gdbusproxy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gio/gdbusproxy.c b/gio/gdbusproxy.c index 3898b79..65ea484 100644 --- a/gio/gdbusproxy.c +++ b/gio/gdbusproxy.c @@ -2157,6 +2157,7 @@ reply_cb (GDBusConnection *connection, /* no need to complete in idle since the method GDBusConnection already does */ g_simple_async_result_complete (simple); + g_object_unref (simple); } static const GDBusMethodInfo * -- 2.7.4