diff options
| author | Nikita Popov <nikic@php.net> | 2014-09-03 15:16:32 +0200 |
|---|---|---|
| committer | Nikita Popov <nikic@php.net> | 2014-09-03 15:18:06 +0200 |
| commit | 9e753531842f524a1a147ca0244c041e59ecd117 (patch) | |
| tree | 77f1dbf101b5012bb986f178cdd5379f67b84ec0 /Zend/zend_opcode.c | |
| parent | c52511c30703d2921f813ccf1557bc042a7cd9d2 (diff) | |
| download | php-git-9e753531842f524a1a147ca0244c041e59ecd117.tar.gz | |
Use zval_ptr_dtor_nogc to destroy literals
Also move the definition of zval_ptr_dtor_nogc to zend_variables.h
(from zend_execute.h/.c) as it's used in a few places.
Diffstat (limited to 'Zend/zend_opcode.c')
| -rw-r--r-- | Zend/zend_opcode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c index d5c4693b7f..db1f1cf9cc 100644 --- a/Zend/zend_opcode.c +++ b/Zend/zend_opcode.c @@ -343,7 +343,7 @@ ZEND_API void destroy_op_array(zend_op_array *op_array TSRMLS_DC) if (literal) { end = literal + op_array->last_literal; while (literal < end) { - zval_dtor(literal); + zval_ptr_dtor_nogc(literal); literal++; } efree(op_array->literals); |
