summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog7
-rw-r--r--gtk/gtkfilesystem.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6a5d882bd5..41280b3e05 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;