From: Christian Dywan Date: Sat, 3 Oct 2009 22:02:52 +0000 (+0200) Subject: Fix a leaked folder string when activating extensions X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4c9c87f79e3dd2d1ebba7972fd1102d90aba343;p=midori Fix a leaked folder string when activating extensions --- 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); }