summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserdefault.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2003-10-21 01:06:30 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2003-10-21 01:06:30 +0000
commit806d18a4ae1bcf25289f889f0dec643e1573e7b2 (patch)
tree21b73ab63122400ace0ce6b25fe5ea7d5999db78 /gtk/gtkfilechooserdefault.c
parent5b9a4e6997e9ffe12899d0f9ce7a10804b82befa (diff)
downloadgdk-pixbuf-806d18a4ae1bcf25289f889f0dec643e1573e7b2.tar.gz
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.
Diffstat (limited to 'gtk/gtkfilechooserdefault.c')
-rw-r--r--gtk/gtkfilechooserdefault.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index ac25f728f..f2b2f7d15 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -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);