Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

gensmusic
Copy link
Contributor

As discussed in #6835

When git_odb_stream is a read stream, hash_ctx is not used. Therefore, check if hash_ctx can be freed during the release. This allows implementers of custom ODB backends to not worry about the creation of hash_ctx for now.

When `git_odb_stream` is a read stream, `hash_ctx` is not used.
Therefore, check if `hash_ctx` can be freed during the release.
This allows implementers of custom ODB backends to not worry about
the creation of `hash_ctx` for now.
@ethomson ethomson merged commit 585210a into libgit2:main Jun 25, 2024
@ethomson
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants