Commit 327dc61f by Ben Straub

Prefer git__free (again).

parent 31dda647
...@@ -546,7 +546,7 @@ static int oid_for_tree_path(git_oid *out, git_tree *tree, git_repository *repo, ...@@ -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 (tree2 != tree) git_tree_free(tree2);
if (git_tree_entry__is_tree(entry)) { if (git_tree_entry__is_tree(entry)) {
if (git_tree_lookup(&tree2, repo, &entry->oid) < 0) { if (git_tree_lookup(&tree2, repo, &entry->oid) < 0) {
free(alloc); git__free(alloc);
return GIT_ERROR; return GIT_ERROR;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment