summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystem.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-07-16 13:51:56 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-07-16 13:51:56 +0000
commitf815c34a2b975ec7a74798850dd05527a6d80db7 (patch)
tree4c94635cdf033ff120c1f91c2d14057b22adc340 /gtk/gtkfilesystem.c
parent1e1f8a0e872d6bf7be79f16885584564f3297dbe (diff)
downloadgtk+-f815c34a2b975ec7a74798850dd05527a6d80db7.tar.gz
Don't free a GFile. Reported by Sebastien Bacher
* gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't free a GFile. Reported by Sebastien Bacher svn path=/trunk/; revision=20843
Diffstat (limited to 'gtk/gtkfilesystem.c')
-rw-r--r--gtk/gtkfilesystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c
index 8f8e9c8331..c462b3f444 100644
--- a/gtk/gtkfilesystem.c
+++ b/gtk/gtkfilesystem.c
@@ -1127,7 +1127,7 @@ _gtk_file_system_set_bookmark_label (GtkFileSystem *file_system,
if (g_file_equal (file, bookmark->file))
{
- g_free (bookmark->file);
+ g_free (bookmark->label);
bookmark->label = g_strdup (label);
changed = TRUE;
break;