mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-23 15:49:16 +02:00
GDBusProxy: Don't leak a GSimpleAsyncResult when doing async calls
Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
b2715bbc5e
commit
3940cc9a11
@ -2157,6 +2157,7 @@ reply_cb (GDBusConnection *connection,
|
|||||||
|
|
||||||
/* no need to complete in idle since the method GDBusConnection already does */
|
/* no need to complete in idle since the method GDBusConnection already does */
|
||||||
g_simple_async_result_complete (simple);
|
g_simple_async_result_complete (simple);
|
||||||
|
g_object_unref (simple);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const GDBusMethodInfo *
|
static const GDBusMethodInfo *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user