diff --git a/ChangeLog b/ChangeLog index f61cc95ea8..4b12d918fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-06-16 Federico Mena Quintero + + * gtk/gtkfilesystemmodel.c (do_files_added): When inserting a + visible node, free the old path before creating the new one. + Fixes #144356. + Tue Jun 15 01:10:32 2004 Matthias Clasen * gtk/gtkcombobox.c: Make GtkComboBox work without model. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index f61cc95ea8..4b12d918fb 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2004-06-16 Federico Mena Quintero + + * gtk/gtkfilesystemmodel.c (do_files_added): When inserting a + visible node, free the old path before creating the new one. + Fixes #144356. + Tue Jun 15 01:10:32 2004 Matthias Clasen * gtk/gtkcombobox.c: Make GtkComboBox work without model. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index f61cc95ea8..4b12d918fb 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2004-06-16 Federico Mena Quintero + + * gtk/gtkfilesystemmodel.c (do_files_added): When inserting a + visible node, free the old path before creating the new one. + Fixes #144356. + Tue Jun 15 01:10:32 2004 Matthias Clasen * gtk/gtkcombobox.c: Make GtkComboBox work without model. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index f61cc95ea8..4b12d918fb 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2004-06-16 Federico Mena Quintero + + * gtk/gtkfilesystemmodel.c (do_files_added): When inserting a + visible node, free the old path before creating the new one. + Fixes #144356. + Tue Jun 15 01:10:32 2004 Matthias Clasen * gtk/gtkcombobox.c: Make GtkComboBox work without model. diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c index 5927983ca2..4ad5ec2a94 100644 --- a/gtk/gtkfilesystemmodel.c +++ b/gtk/gtkfilesystemmodel.c @@ -1607,6 +1607,7 @@ do_files_added (GtkFileSystemModel *model, if (new->is_visible) { iter.user_data = new; + gtk_tree_path_free (path); path = gtk_tree_model_get_path (tree_model, &iter); gtk_tree_model_row_inserted (tree_model, path, &iter);