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 | |
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
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | gtk/gtkfilesystem.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,12 @@ 2008-07-15 Matthias Clasen <mclasen@redhat.com> + Bug 543244 – crashes when renaming a bookmark + + * gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't + free a GFile. Reported by Sebastien Bacher + +2008-07-15 Matthias Clasen <mclasen@redhat.com> + Bug 339591 – Detect list of availible cover pages Patch by Marek Kasik: 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; |