mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
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:
parent
5b9a4e6997
commit
806d18a4ae
@ -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);
|
||||
|
||||
|
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user