Fix a leaked folder string when activating extensions

This commit is contained in:
Christian Dywan 2009-10-04 00:02:52 +02:00
parent 2ff14cf64d
commit d4c9c87f79

View 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);
}