Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ad/5580-unc-tests-on-cygwin'
[gitweb.git]
/
commit.c
diff --git
a/commit.c
b/commit.c
index 906298052d485867599a98af1cf49e4728028b50..1e0e633790bb834ad05ed9619e4afa0bac33ce19 100644
(file)
--- a/
commit.c
+++ b/
commit.c
@@
-1086,6
+1086,7
@@
struct commit_list *reduce_heads(struct commit_list *heads)
num_head = remove_redundant(array, num_head);
for (i = 0; i < num_head; i++)
tail = &commit_list_insert(array[i], tail)->next;
+ free(array);
return result;
}