summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commit.c')
-rw-r--r--src/commit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commit.c b/src/commit.c
index 6b0b66190..e4e56117d 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -83,6 +83,7 @@ git_commit *git_commit_parse(git_revpool *pool, const git_oid *id)
return commit;
error_cleanup:
+ /* FIXME: do not free; the commit is owned by the revpool */
free(commit);
return NULL;
}