diff options
Diffstat (limited to 'commit-reach.c')
-rw-r--r-- | commit-reach.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commit-reach.c b/commit-reach.c index 4b7c233fd4..ecc913fc99 100644 --- a/commit-reach.c +++ b/commit-reach.c @@ -4,7 +4,6 @@ #include "decorate.h" #include "hex.h" #include "prio-queue.h" -#include "tree.h" #include "ref-filter.h" #include "revision.h" #include "tag.h" @@ -173,6 +172,7 @@ struct commit_list *get_octopus_merge_bases(struct commit_list *in) for (k = bases; k; k = k->next) end = k; } + free_commit_list(ret); ret = new_commits; } return ret; |