10000 Fix memory leak when curl_slist_append() fails by nielsdos · Pull Request #18711 · php/php-src · GitHub
[go: up one dir, main page]

Skip to content

Fix memory leak when curl_slist_append() fails #18711

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
wants to merge 1 commit into from

Conversation

nielsdos
Copy link
Member

If curl_slist_append() returns NULL, then the original pointer is lost and not freed.

If curl_slist_append() returns NULL, then the original pointer is lost
and not freed.
@nielsdos nielsdos closed this in d9d9919 May 31, 2025
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.

3 participants
0