Commit a4bcfdc1 authored by Paolo Borelli's avatar Paolo Borelli

a couple more leaks

svn path=/trunk/; revision=6376
parent 66c2bb06
......@@ -260,6 +260,7 @@ gedit_history_entry_save_history (GeditHistoryEntry *entry)
gconf_items,
NULL);
g_slist_foreach (gconf_items, (GFunc) g_free, NULL);
g_slist_free (gconf_items);
g_free (key);
}
......
......@@ -374,6 +374,8 @@ load_plugin_module (GeditPluginInfo *info)
"module-name", info->module_name,
NULL));
g_free (dirname);
if (!g_type_module_use (G_TYPE_MODULE (info->module)))
{
g_warning ("Cannot load plugin '%s' since file '%s' cannot be read.",
......
......@@ -1911,6 +1911,7 @@ _gedit_tab_get_icon (GeditTab *tab)
location = gedit_document_get_location (doc);
pixbuf = get_icon (theme, location, icon_size);
g_object_unref (location);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment