mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
GDBusConnection: Don't leak message reply in error path
This was reported in bug 670909. https://bugzilla.gnome.org/show_bug.cgi?id=670909 Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
eeccd3866a
commit
7a4a973cfd
@ -5298,8 +5298,8 @@ g_dbus_connection_call_done (GObject *source,
|
||||
{
|
||||
g_simple_async_result_set_op_res_gpointer (state->simple, state, (GDestroyNotify) call_state_free);
|
||||
g_simple_async_result_complete (state->simple);
|
||||
g_object_unref (reply);
|
||||
}
|
||||
g_clear_object (&reply);
|
||||
g_object_unref (simple);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user