[anjuta] git: Don't leak the branch when viewing logs



commit 06bfa1b3a2343cf782c00207d8eaaf6d3de087b9
Author: James Liggett <jrliggett cox net>
Date:   Tue May 26 17:48:26 2009 -0700

    git: Don't leak the branch when viewing logs
---
 plugins/git/git-log-dialog.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/plugins/git/git-log-dialog.c b/plugins/git/git-log-dialog.c
index 12fdf08..9ff28fb 100644
--- a/plugins/git/git-log-dialog.c
+++ b/plugins/git/git-log-dialog.c
@@ -309,6 +309,8 @@ on_ref_command_finished (AnjutaCommand *command, guint return_code,
 									   branch, relative_path,
 									   author, grep, since_date, until_date,
 									   since_commit, until_commit);
+
+	g_free (branch);
 	
 	gtk_list_store_clear (data->list_store);
 	



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