Merge branch 'backport-1692-signal-unref-glib-2-66' into 'glib-2-66'

Backport !1692 “gsignal: Plug g_signal_connect_object leak” to glib-2-66

See merge request GNOME/glib!1694
This commit is contained in:
Sebastian Dröge 2020-10-14 10:08:42 +00:00
commit 114ae79388

View File

@ -3916,6 +3916,7 @@ invalid_closure_notify (gpointer instance,
g_assert (handler != NULL);
g_assert (handler->closure == closure);
g_hash_table_remove (g_handlers, handler);
handler->sequential_number = 0;
handler->block_count = 1;
handler_unref_R (signal_id, instance, handler);