[anjuta/git-shell: 80/82] libanjuta: Fix a memory leak in AnjutaVcsStatusTreeView
- From: James Liggett <jrliggett src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/git-shell: 80/82] libanjuta: Fix a memory leak in AnjutaVcsStatusTreeView
- Date: Thu, 24 Jun 2010 00:20:43 +0000 (UTC)
commit a1350fd9291b63c0e29ad80febc19cea6634ce43
Author: James Liggett <jrliggett cox net>
Date: Wed Jun 23 16:49:24 2010 -0700
libanjuta: Fix a memory leak in AnjutaVcsStatusTreeView
libanjuta/anjuta-vcs-status-tree-view.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libanjuta/anjuta-vcs-status-tree-view.c b/libanjuta/anjuta-vcs-status-tree-view.c
index 9b631bb..0f2fb8a 100644
--- a/libanjuta/anjuta-vcs-status-tree-view.c
+++ b/libanjuta/anjuta-vcs-status-tree-view.c
@@ -490,6 +490,8 @@ create_selected_paths_list (GtkTreeModel *model, GtkTreePath *path,
if (selected)
*list = g_list_append (*list, g_strdup (file_path));
+
+ g_free (file_path);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]