[anjuta] git: Properly free the status regex match info



commit a72a4dfcdfdc64ac1f893e34042af43e56ea2117
Author: James Liggett <jrliggett cox net>
Date:   Wed Jun 3 01:04:41 2009 -0700

    git: Properly free the status regex match info
---
 plugins/git/git-status-command.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/plugins/git/git-status-command.c b/plugins/git/git-status-command.c
index aa28030..67268c4 100644
--- a/plugins/git/git-status-command.c
+++ b/plugins/git/git-status-command.c
@@ -120,8 +120,9 @@ git_status_command_handle_output (GitCommand *git_command, const gchar *output)
 			
 			g_free (status);
 			g_free (path);
-			g_match_info_free (match_info);
 		}
+
+		g_match_info_free (match_info);
 	}
 }
 



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