Unverified Commit 350cea37 by apnadkarni Committed by GitHub

Makes sense.

Co-authored-by: Edward Thomson <ethomson@github.com>
parent f0167095
......@@ -698,8 +698,7 @@ int git_describe_commit(
goto cleanup;
cleanup:
if (commit != NULL)
git_commit_free(commit);
git_commit_free(commit);
git_oidmap_foreach_value(data.names, name, {
git_tag_free(name->tag);
......
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