[php-src] PR #14708: Fix GH-14590: Memory leak in FPM test gh13563-conf-bool-env.phpt
| From: | nielsdos | Date: | Fri, 28 Jun 2024 19:09:53 +0000 |
| Subject: | [php-src] PR #14708: Fix GH-14590: Memory leak in FPM test gh13563-conf-bool-env.phpt | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26867@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14708
Author: nielsdos
Values retrieved from zend_getenv should be freed.
Making a test is not trivial because the CLI sapi doesn't implement the sapi getenv hook, so
zend_getenv always returns NULL.