Commit b41384b4 by Ben Straub

Plugging memory leak.

parent c8a33547
......@@ -270,6 +270,8 @@ static int walk_ref_history(git_object **out, git_repository *repo, const char *
const git_reflog_entry *entry = git_reflog_entry_byindex(reflog, 0);
retcode = git_object_lookup(out, repo, git_reflog_entry_oidnew(entry), GIT_OBJ_ANY);
}
git_reflog_free(reflog);
}
git_reference_free(ref);
......
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