Commit 212da30d by Edward Thomson Committed by GitHub

Merge pull request #4348 from pks-t/pks/win32-hash-memleak

diff: cleanup hash ctx in `git_diff_patchid`
parents d378e384 046b081a
......@@ -517,5 +517,6 @@ int git_diff_patchid(git_oid *out, git_diff *diff, git_diff_patchid_options *opt
git_oid_cpy(out, &args.result);
out:
git_hash_ctx_cleanup(&args.ctx);
return 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