mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 11:12:11 +01: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 */
|
||||
g_simple_async_result_complete (simple);
|
||||
g_object_unref (simple);
|
||||
}
|
||||
|
||||
static const GDBusMethodInfo *
|
||||
|
Loading…
x
Reference in New Issue
Block a user