Branch: refs/heads/remove-use-after-op-free Home: https://github.com/Perl/perl5 Commit: a158c967a0a18337fa9939f26fd6102829897ac0 https://github.com/Perl/perl5/commit/a158c967a0a18337fa9939f26fd6102829897ac0 Author: Dagfinn Ilmari Mannsåker <ilm...@ilmari.org> Date: 2023-09-19 (Tue, 19 Sep 2023)
Changed paths: M class.c Log Message: ----------- Remove pointless use-after-free assert op_free() doesn't actually free the op, but adds it to the slab's freelist and marks it as freed, but that's not obvious when reading the code. Also, if op_free() fails to actually free the op, we have a bigger problem than just here.