summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserbutton.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2005-06-07 21:24:19 +0000
committerKjartan Maraas <kmaraas@src.gnome.org>2005-06-07 21:24:19 +0000
commit471b638bd309a70cc392e42e48b38cdc4c283393 (patch)
tree0db852d85f17eb7fb84c4e3f2afe2d327dccbe61 /gtk/gtkfilechooserbutton.c
parent06606b57009f5731b9a0de6cdb54cd1b03cba734 (diff)
downloadgtk+-471b638bd309a70cc392e42e48b38cdc4c283393.tar.gz
Merge leak fix from stable. Bug 306754.
2005-06-07 Kjartan Maraas <kmaraas@gnome.org> * gtk/gtkfilechooserbutton.c: (update_label_and_image): Merge leak fix from stable. Bug 306754.
Diffstat (limited to 'gtk/gtkfilechooserbutton.c')
-rw-r--r--gtk/gtkfilechooserbutton.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c
index 3c38073db0..1b443462ec 100644
--- a/gtk/gtkfilechooserbutton.c
+++ b/gtk/gtkfilechooserbutton.c
@@ -1828,6 +1828,8 @@ update_label_and_image (GtkFileChooserButton *button)
folder = gtk_file_system_get_folder (priv->fs,
parent_path ? parent_path : path,
GTK_FILE_INFO_DISPLAY_NAME, NULL);
+ gtk_file_path_free (parent_path);
+
if (folder)
{
GtkFileInfo *info;