[anjuta] git: Free the input string when processing commit parents in log output



commit 3fb4aa803395cbac25e3eddbf46c7449e0874ea0
Author: James Liggett <jrliggett cox net>
Date:   Tue Jun 2 13:29:25 2009 -0700

    git: Free the input string when processing commit parents in log output
---
 plugins/git/git-log-command.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/plugins/git/git-log-command.c b/plugins/git/git-log-command.c
index 0513933..9e177c7 100644
--- a/plugins/git/git-log-command.c
+++ b/plugins/git/git-log-command.c
@@ -245,6 +245,7 @@ git_log_command_handle_output (GitCommand *git_command, const gchar *output)
 									self->priv->current_revision);
 		}
 		
+		g_free (parents);
 		g_strfreev (parent_shas);
 	}
 	else if (g_regex_match (self->priv->author_regex, output, 0, &match_info))



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