8000 oidarray: introduce `git_oidarray_dispose` by ethomson · Pull Request #6076 · libgit2/libgit2 · GitHub
[go: up one dir, main page]

Skip to content

oidarray: introduce git_oidarray_dispose #6076

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 27, 2021
Merged

Conversation

ethomson
Copy link
Member

Since users are disposing the contents of the oidarray, not freeing
the oidarray itself, the proper cleanup function is
git_oidarray_dispose. Deprecate git_oidarray_free.

Since users are disposing the _contents_ of the oidarray, not freeing
the oidarray itself, the proper cleanup function is
`git_oidarray_dispose`.  Deprecate `git_oidarray_free`.
< 88BE /div>
@ethomson ethomson force-pushed the ethomson/oidarray_dispose branch from 71936b3 to 0bd132a Compare September 26, 2021 22:02
@ethomson ethomson merged commit 8c29885 into main Sep 27, 2021
@ethomson ethomson deleted the ethomson/oidarray_dispose branch September 30, 2021 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0