[anjuta] file manager plugin: fix leak in row callapsed



commit bd62278b7c3cea5fec4e4048b3b4401d500db173
Author: Alban Browaeys <prahal yahoo com>
Date:   Wed Jul 6 02:03:47 2011 +0200

    file manager plugin: fix leak in row callapsed

 plugins/file-manager/file-model.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/file-manager/file-model.c b/plugins/file-manager/file-model.c
index 1f7d1f7..0541040 100644
--- a/plugins/file-manager/file-model.c
+++ b/plugins/file-manager/file-model.c
@@ -670,6 +670,7 @@ file_model_row_collapsed (GtkTreeView* tree_view, GtkTreeIter* iter,
 	cancel = g_object_get_data (G_OBJECT(dir), "_cancel");
 	g_cancellable_cancel (cancel);
 	g_object_unref (cancel);
+	g_object_unref (dir);
 	
 	while (gtk_tree_model_iter_children (GTK_TREE_MODEL(model), &child, &real_iter))
 	{



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]