diff options
author | Andi Gutmans <andi@php.net> | 2000-05-08 21:46:48 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-05-08 21:46:48 +0000 |
commit | 30da5fd8fcfd0446f3b7c3a63fc7319b65d65d62 (patch) | |
tree | b2bade6f23b817fce372105a2fe59a4734594270 /Zend/zend_compile.c | |
parent | 63b7056f9aa662f66b78e3fc2edfaaeb07b0b198 (diff) | |
download | php-git-30da5fd8fcfd0446f3b7c3a63fc7319b65d65d62.tar.gz |
Thoroughly initialize IS_UNUSED for proper cleanup
Diffstat (limited to 'Zend/zend_compile.c')
-rw-r--r-- | Zend/zend_compile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 8560f0fad2..24ab94cd37 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -1183,6 +1183,8 @@ void do_early_binding(CLS_D) zval_dtor(&opline->op1.u.constant); zval_dtor(&opline->op2.u.constant); opline->opcode = ZEND_NOP; + memset(&opline->op1, 0, sizeof(znode)); + memset(&opline->op2, 0, sizeof(znode)); SET_UNUSED(opline->op1); SET_UNUSED(opline->op2); } |