]> git.ipfire.org Git - thirdparty/git.git/blobdiff - commit.c
config: do not leak excludes_file
[thirdparty/git.git] / commit.c
index 14538a811ae0e000f140caf2f4738c89116684a5..e433c33bb01fa6e3688a0b163c44d62f204d62d0 100644 (file)
--- a/commit.c
+++ b/commit.c
@@ -1033,6 +1033,7 @@ struct commit *get_fork_point(const char *refname, struct commit *commit)
        ret = bases->item;
 
 cleanup_return:
+       free(revs.commit);
        free_commit_list(bases);
        free(full_refname);
        return ret;