Skip to content
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

[umf] Make pool tracking optional #739

Closed
wants to merge 3 commits into from

Conversation

kswiecicki
Copy link
Contributor

No description provided.

umfFree() is not supported when pool tracking is disabled.
@igchor
Copy link
Member

igchor commented Jul 21, 2023

LGTM, alternatively we could consider adding a compile-time flag that would disable tracking + we could put umfPoolByPtr and umfFree under ifdef - right now, if someone calls umfFree it will result in a memory leak (if return value is not checked).

@pbalcer
Copy link
Contributor

pbalcer commented Jul 24, 2023

Yea, I think I'd prefer a compile-time option (that disables this functionality by default).

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

Successfully merging this pull request may close these issues.

3 participants