st: Fix a minor leak

StSetting is used as a singleton, so this leak does not matter in
practise.

Spotted by Jonas Dreßler.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/486
This commit is contained in:
Florian Müllner 2019-05-11 08:18:00 +00:00 committed by Florian Müllner
parent 5e43f282a1
commit 40bd65c9ba

View File

@ -86,6 +86,7 @@ st_settings_finalize (GObject *object)
g_object_unref (settings->interface_settings); g_object_unref (settings->interface_settings);
g_object_unref (settings->mouse_settings); g_object_unref (settings->mouse_settings);
g_object_unref (settings->a11y_settings);
g_free (settings->gtk_theme); g_free (settings->gtk_theme);
g_free (settings->gtk_icon_theme); g_free (settings->gtk_icon_theme);