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
This commit is contained in:
Matthias Clasen
2008-07-16 13:51:56 +00:00
parent 1e1f8a0e87
commit f815c34a2b
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
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

View File

@ -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;