From d4c9c87f79e3dd2d1ebba7972fd1102d90aba343 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 4 Oct 2009 00:02:52 +0200 Subject: [PATCH] Fix a leaked folder string when activating extensions --- midori/midori-extension.c | 1 + 1 file changed, 1 insertion(+) diff --git a/midori/midori-extension.c b/midori/midori-extension.c index 27ab9df9..9eceea8b 100644 --- a/midori/midori-extension.c +++ b/midori/midori-extension.c @@ -278,6 +278,7 @@ midori_extension_activate_cb (MidoriExtension* extension, gchar* folder = g_strconcat ("extensions/", filename, NULL); katze_assign (config_file, sokoke_find_config_filename (folder, "config")); + g_free (folder); g_key_file_load_from_file (extension->priv->key_file, config_file, G_KEY_FILE_KEEP_COMMENTS, NULL); } -- 2.39.5