From ad297ea9dcef1961713278469cb2cd28baa82676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 19 Jun 2015 13:47:23 +0200 Subject: [PATCH] main: Fix a memory leak We are pointlessly calling g_settings_list_keys() twice, without freeing the result from the first call. --- src/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.c b/src/main.c index 65617d98f..9e86a4124 100644 --- a/src/main.c +++ b/src/main.c @@ -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);