[php-src] PR #18711: Fix memory leak when curl_slist_append() fails
| From: | nielsdos | Date: | Fri, 30 May 2025 19:16:29 +0000 |
| Subject: | [php-src] PR #18711: Fix memory leak when curl_slist_append() fails | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31888@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18711
Author: nielsdos
If curl_slist_append() returns NULL, then the original pointer is lost and not freed.