diff options
author | Federico Mena Quintero <federico@ximian.com> | 2004-06-16 21:38:47 +0000 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2004-06-16 21:38:47 +0000 |
commit | 11a9e21ab00c590d46127652c9488bcd96dbef5a (patch) | |
tree | 5c734243f6b7dbcd485ffd69676a348c1e1fbf53 /gtk/gtkfilesystemmodel.c | |
parent | 8e6fd3390d2db2b0312fc3db4ea030c54e4aee05 (diff) | |
download | gtk+-11a9e21ab00c590d46127652c9488bcd96dbef5a.tar.gz |
When inserting a visible node, free the old path before creating the new
2004-06-16 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilesystemmodel.c (do_files_added): When inserting a
visible node, free the old path before creating the new one.
Fixes #144356.
Diffstat (limited to 'gtk/gtkfilesystemmodel.c')
-rw-r--r-- | gtk/gtkfilesystemmodel.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |