[php-src] Issue #8078: `eval` is leaking memory
| From: | cmb69 | Date: | Thu, 17 Feb 2022 15:56:32 +0000 |
| Subject: | [php-src] Issue #8078: `eval` is leaking memory | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239849@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8078
Comment Author: cmb69
> is the freeing of the arena-allocated op_array structure for the closure easily fixable?
Arena allocations are similar to SQL transactions with checkpoints. You can destroy the whole arena
or roll back to a certain checkpoint, but you can't free certain parts of the arena. So I
don't think this is (easily) fixable.