[anjuta/gnome-2-26] git: Fix a memory leak in the log graph renderer



commit ccffa9a4bd2a079e3978ce0f1a396e7ec6b96d43
Author: James Liggett <jrliggett cox net>
Date:   Wed Jun 3 00:35:51 2009 -0700

    git: Fix a memory leak in the log graph renderer
---
 plugins/git/giggle-graph-renderer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/git/giggle-graph-renderer.c b/plugins/git/giggle-graph-renderer.c
index fc7588a..6997df7 100644
--- a/plugins/git/giggle-graph-renderer.c
+++ b/plugins/git/giggle-graph-renderer.c
@@ -414,7 +414,7 @@ get_initial_status (GHashTable *visible_paths)
 static void
 free_paths_state (GArray *array)
 {
-	g_array_free (array, FALSE);
+	g_array_free (array, TRUE);
 }
 
 static void



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