diff options
author | Vicent Marti <tanoku@gmail.com> | 2010-07-10 16:51:15 -0700 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2010-07-15 23:41:49 +0200 |
commit | d8603ed901d4af4d0d2b493d1164c74eae34f147 (patch) | |
tree | 12b66564dafa01d8a13b8ecf53474b1d305ea771 /src/commit.c | |
parent | 3e590fb2221ea3c117b7347956843d24132ac22b (diff) | |
download | libgit2-d8603ed901d4af4d0d2b493d1164c74eae34f147.tar.gz |
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 <tanoku@gmail.com>
Diffstat (limited to 'src/commit.c')
-rw-r--r-- | src/commit.c | 1 |
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; } |