[anjuta] project-manager: Fix leak of the nodes GList in gbf_project_view_update_tree().
- From: Carl-Anton Ingmarsson <carlantoni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] project-manager: Fix leak of the nodes GList in gbf_project_view_update_tree().
- Date: Wed, 9 Jan 2013 20:38:26 +0000 (UTC)
commit 27cfe1dde102b536a86079c0b8204ca76dd462a1
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date: Wed Jan 9 18:04:25 2013 +0100
project-manager: Fix leak of the nodes GList in gbf_project_view_update_tree().
plugins/project-manager/project-view.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/project-manager/project-view.c b/plugins/project-manager/project-view.c
index 924c802..8823482 100644
--- a/plugins/project-manager/project-view.c
+++ b/plugins/project-manager/project-view.c
@@ -1053,6 +1053,8 @@ gbf_project_view_update_tree (GbfProjectView *view, AnjutaProjectNode *parent, G
gbf_project_model_add_node (view->model, node->data, iter, 0);
}
+ g_list_free (nodes);
+
/* Expand parent, needed if the parent hasn't any children when it was created */
if (iter != NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]