summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-09 22:01:02 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-09 22:01:02 +0000
commit50d0b71e492d35927b0577b9eaf9065c938fd80f (patch)
treedc092041e5f5343a7dd9a7c603511aa4653d76e7
parent72bb780b802b84a4cf8da26c4e435132a2523267 (diff)
free the files intermediate tree after it's added to the model
-rw-r--r--src/trg-files-model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trg-files-model.c b/src/trg-files-model.c
index 68ae79b..803f7f5 100644
--- a/src/trg-files-model.c
+++ b/src/trg-files-model.c
@@ -322,7 +322,7 @@ void trg_files_model_update(TrgFilesModel * model, gint64 updateSerial,
priv->n_items = j;
store_add_node(GTK_TREE_STORE(model), NULL, top_node);
-
+ trg_files_tree_node_free(top_node);
} else {
gtk_tree_model_foreach(GTK_TREE_MODEL(model),
(GtkTreeModelForeachFunc)