Free the info itself.

2003-10-20  Federico Mena Quintero  <federico@ximian.com>

	* gtkfilesystem.c (gtk_file_info_free): Free the info itself.

	* gtkfilechooserimpldefault.c (shortcuts_insert_path): Free the
	GtkFileInfo.
This commit is contained in:
Federico Mena Quintero 2003-10-21 01:06:30 +00:00 committed by Federico Mena Quintero
parent 5b9a4e6997
commit 806d18a4ae
2 changed files with 4 additions and 0 deletions

View File

@ -464,6 +464,8 @@ shortcuts_insert_path (GtkFileChooserImplDefault *impl,
SHORTCUTS_COL_PATH, path_copy,
-1);
gtk_file_info_free (info);
if (pixbuf)
g_object_unref (pixbuf);

View File

@ -101,6 +101,8 @@ gtk_file_info_free (GtkFileInfo *info)
g_free (info->mime_type);
if (info->display_key)
g_free (info->display_key);
g_free (info);
}
G_CONST_RETURN gchar *