]> spindle.queued.net Git - midori/commitdiff
Fix a leaked folder string when activating extensions
authorChristian Dywan <christian@twotoasts.de>
Sat, 3 Oct 2009 22:02:52 +0000 (00:02 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 3 Oct 2009 22:02:52 +0000 (00:02 +0200)
midori/midori-extension.c

index 27ab9df9e49081d0cb411c312e6b88fe837aef75..9eceea8b2d776291140b3a246af79d5a98aa0d74 100644 (file)
@@ -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);
             }