forked from AuroraMiddleware/gtk
settings: Plug a memory leak
It is rare that settings are finalized, but we still shouldn't leak in that case.
This commit is contained in:
parent
7644605dfc
commit
8994635d39
@ -1177,6 +1177,8 @@ gtk_settings_finalize (GObject *object)
|
||||
|
||||
g_free (settings->font_family);
|
||||
|
||||
g_object_unref (settings->theme_provider);
|
||||
|
||||
G_OBJECT_CLASS (gtk_settings_parent_class)->finalize (object);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user