1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

zend_vm_def: Use FREE_OP1() in ZEND_FREE handler (#18131)

This is for consistency with other opcode handlers. It does not
have an effect on the generated VM.
This commit is contained in:
Tim Düsterhus
2025-03-22 16:34:26 +01:00
committed by GitHub
parent 8622362394
commit a28fb52719

View File

@@ -3207,7 +3207,7 @@ ZEND_VM_HANDLER(70, ZEND_FREE, TMPVAR, ANY)
USE_OPLINE
SAVE_OPLINE();
zval_ptr_dtor_nogc(EX_VAR(opline->op1.var));
FREE_OP1();
ZEND_VM_NEXT_OPCODE_CHECK_EXCEPTION();
}