[php-src] Issue #8078: `eval` is leaking memory
| From: | nikic | Date: | Fri, 11 Feb 2022 21:28:44 +0000 |
| Subject: | [php-src] Issue #8078: `eval` is leaking memory | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239687@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8078
Comment Author: nikic
@bwoebi As of PHP 8.1 we do actually. We track these via dynamic_func_defs and release them once
unused. The only reason there is still a small leak here, is that the op_array structure itself is
still arena-allocated.