]> Pileus Git - ~andy/gtk/commitdiff
Free the info itself.
authorFederico Mena Quintero <federico@ximian.com>
Tue, 21 Oct 2003 01:06:30 +0000 (01:06 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Tue, 21 Oct 2003 01:06:30 +0000 (01:06 +0000)
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.

gtk/gtkfilechooserdefault.c
gtk/gtkfilesystem.c

index ac25f728fae3a1b8d2a61e574270b8c4a2a10f87..f2b2f7d15ae25b666eb6f16b8de204d6dfd5eee1 100644 (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);
 
index 0489889dc0bcb1dcc293c792e94558941d685549..ff782f0c2f1e1fcb38a4068dbf67a2138234b192 100644 (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 *