main: Fix a memory leak
We are pointlessly calling g_settings_list_keys() twice, without freeing the result from the first call.
This commit is contained in:
parent
2015fc97dc
commit
ad297ea9dc
@ -181,7 +181,6 @@ shell_prefs_init (void)
|
||||
|
||||
g_object_get (G_OBJECT (settings), "schema-id", &schema_id, NULL);
|
||||
|
||||
keys = g_settings_list_keys (settings);
|
||||
for (keys = k = g_settings_list_keys (settings); *k; k++)
|
||||
meta_prefs_override_preference_schema (*k, schema_id);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user