Makes sense.

Co-authored-by: Edward Thomson <ethomson@github.com>
This commit is contained in:
apnadkarni
2022-04-14 07:40:43 +05:30
committed by GitHub
parent f016709540
commit 350cea37ec

View File

@@ -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);