From d8603ed901d4af4d0d2b493d1164c74eae34f147 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Sat, 10 Jul 2010 16:51:15 -0700 Subject: Add parsing of tree file contents. The basic information (pointed trees and blobs) of each tree object in a revision pool can now be parsed and queried. Signed-off-by: Vicent Marti --- src/commit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/commit.c') 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; } -- cgit v1.2.1