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

u_request: Don't use malloc, but always o_malloc #207

Merged
merged 1 commit into from Dec 8, 2021
Merged

u_request: Don't use malloc, but always o_malloc #207

merged 1 commit into from Dec 8, 2021

Conversation

laf0rge
Copy link
Contributor

@laf0rge laf0rge commented Dec 8, 2021

Allocating memory using malloc, but then free'ing it using o_free will
not work for anyone using a custom memory allocator. The allocations
and free's must either both go to libc, or both via the custom
allocator; one cannot allocate one way and release another.

Closes: #206

Allocating memory using malloc, but then free'ing it using o_free will
not work for anyone using a custom memory allocator.   The allocations
and free's must either both go to libc, or both via the custom
allocator; one cannot allocate one way and release another.

Closes: #206
@babelouest babelouest merged commit 65a72bd into babelouest:master Dec 8, 2021
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.

[Issue] ulfius_url_{encode,decode} call malloc instad of o_malloc
2 participants