[anjuta/gnome-2-26] git: Free the input string when processing commit parents in log output



commit c434b533f7de539dc776e687f88d3f279249060f
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 5f97df0..c16d781 100644
--- a/plugins/git/git-log-command.c
+++ b/plugins/git/git-log-command.c
@@ -240,6 +240,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]