summaryrefslogtreecommitdiff
path: root/src/revparse.c
diff options
context:
space:
mode:
authorBen Straub <bstraub@github.com>2012-06-07 12:28:08 -0700
committerBen Straub <bstraub@github.com>2012-06-07 12:28:08 -0700
commit327dc61f132a4999e006d8d8bd2080c1f5a34bf0 (patch)
tree88c888d0d20baa6987cd5718b97968a9e91fd0d4 /src/revparse.c
parent31dda6471687f0ec6985f3db2536e93a8c012df2 (diff)
downloadlibgit2-327dc61f132a4999e006d8d8bd2080c1f5a34bf0.tar.gz
Prefer git__free (again).
Diffstat (limited to 'src/revparse.c')
-rw-r--r--src/revparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/revparse.c b/src/revparse.c
index 6bcdeb3a5..62c193bf2 100644
--- a/src/revparse.c
+++ b/src/revparse.c
@@ -546,7 +546,7 @@ static int oid_for_tree_path(git_oid *out, git_tree *tree, git_repository *repo,
if (tree2 != tree) git_tree_free(tree2);
if (git_tree_entry__is_tree(entry)) {
if (git_tree_lookup(&tree2, repo, &entry->oid) < 0) {
- free(alloc);
+ git__free(alloc);
return GIT_ERROR;
}
}