Skip to content

vector: free is now dispose#6896

Merged
ethomson merged 1 commit into
mainfrom
ethomson/vector
Oct 1, 2024
Merged

vector: free is now dispose#6896
ethomson merged 1 commit into
mainfrom
ethomson/vector

Conversation

@ethomson
Copy link
Copy Markdown
Member

In keeping with the libgit2 pattern, we dispose a structure that is not heap allocated, and free a structure's contents and the structure itself.

In keeping with the libgit2 pattern, we _dispose_ a structure that is
not heap allocated, and _free_ a structure's contents _and the structure
itself_.
@ethomson
Copy link
Copy Markdown
Member Author

Fixes #6885

@ethomson ethomson merged commit 1de5a32 into main Oct 1, 2024
@ethomson ethomson deleted the ethomson/vector branch October 1, 2024 20:01
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