[giggle] Fix memory leak



commit 1ea26ccfc02de1d980951fd852cca306f18c40bd
Author: Guilhem Bonnefille <guilhem bonnefille gmail com>
Date:   Thu Mar 25 23:14:17 2010 +0100

    Fix memory leak

 src/giggle-view-diff.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/giggle-view-diff.c b/src/giggle-view-diff.c
index 9412403..16b19b4 100644
--- a/src/giggle-view-diff.c
+++ b/src/giggle-view-diff.c
@@ -266,6 +266,8 @@ view_diff_path_selected (GtkTreeSelection *selection,
 
 	if (path)
 		giggle_diff_view_scroll_to_file (GIGGLE_DIFF_VIEW (priv->diff_view), path);
+
+	g_free (path);
 }
 
 static void



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