From 94d23673e37160ee99ec1b1cd23ff3b7a79f7226 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 10 Jan 2007 22:36:16 -0800 Subject: plug a few leaks in revision walking used in describe. Signed-off-by: Junio C Hamano --- builtin-describe.c | 1 + 1 file changed, 1 insertion(+) (limited to 'builtin-describe.c') diff --git a/builtin-describe.c b/builtin-describe.c index d65c7d286..a8c98cea1 100644 --- a/builtin-describe.c +++ b/builtin-describe.c @@ -183,6 +183,7 @@ static void describe(const char *arg, int last_one) cur_match->depth++; if (!min_match || cur_match->depth < min_match->depth) min_match = cur_match; + free_commit_list(revs.commits); } printf("%s-g%s\n", min_match->name->path, find_unique_abbrev(cmit->object.sha1, abbrev)); -- cgit v1.2.1