mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
Merge branch 'wip/fix-handler-leak' into 'master'
gsignal: Plug g_signal_connect_object leak See merge request GNOME/glib!1692
This commit is contained in:
commit
f241b96914
@ -3916,6 +3916,7 @@ invalid_closure_notify (gpointer instance,
|
|||||||
g_assert (handler != NULL);
|
g_assert (handler != NULL);
|
||||||
g_assert (handler->closure == closure);
|
g_assert (handler->closure == closure);
|
||||||
|
|
||||||
|
g_hash_table_remove (g_handlers, handler);
|
||||||
handler->sequential_number = 0;
|
handler->sequential_number = 0;
|
||||||
handler->block_count = 1;
|
handler->block_count = 1;
|
||||||
handler_unref_R (signal_id, instance, handler);
|
handler_unref_R (signal_id, instance, handler);
|
||||||
|
Loading…
Reference in New Issue
Block a user