diff options
Diffstat (limited to 'commit.c')
-rw-r--r-- | commit.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |