mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
gsettings: Fix a leak in GSettingsAction
Every GSettingsAction was leaking its schema key (a few tens of bytes). Signed-off-by: Philip Withnall <withnall@endlessm.com> https://bugzilla.gnome.org/show_bug.cgi?id=779265
This commit is contained in:
parent
08b6794ec2
commit
6bfb4ce191
@ -3273,6 +3273,7 @@ g_settings_action_finalize (GObject *object)
|
||||
|
||||
g_signal_handlers_disconnect_by_data (gsa->settings, gsa);
|
||||
g_object_unref (gsa->settings);
|
||||
g_settings_schema_key_clear (&gsa->key);
|
||||
|
||||
G_OBJECT_CLASS (g_settings_action_parent_class)
|
||||
->finalize (object);
|
||||
|
Loading…
Reference in New Issue
Block a user