diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2008-07-16 13:51:56 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-07-16 13:51:56 +0000 |
commit | f815c34a2b975ec7a74798850dd05527a6d80db7 (patch) | |
tree | 4c94635cdf033ff120c1f91c2d14057b22adc340 /gtk/gtkfilesystem.c | |
parent | 1e1f8a0e872d6bf7be79f16885584564f3297dbe (diff) | |
download | gtk+-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.c | 2 |
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; |