Skip to content

Sized deallocation API #5

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

Closed
gnzlbg opened this issue Jun 22, 2019 · 2 comments
Closed

Sized deallocation API #5

gnzlbg opened this issue Jun 22, 2019 · 2 comments

Comments

@gnzlbg
Copy link

gnzlbg commented Jun 22, 2019

There does not appear to be a sized-deallocation API (e.g. free_(void*, size_t)) where the user promises that the size passed is the size hint in range [requested_size, alloction_size] where allocation size is the maximum of mi_good_size and mi_usable_size.

@Lastique
Copy link

Also missing C++ sized deallocation, see operator delete taking size_t as the second argument here.

@daanx
Copy link
Collaborator

daanx commented Jul 8, 2019

Fixed in the latest dev branch

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

No branches or pull requests

3 participants