]> granicus.if.org Git - php/commit
Fix valgrind errors in phpdbg
authorBob Weinand <bobwei9@hotmail.com>
Mon, 3 Aug 2015 22:00:10 +0000 (00:00 +0200)
committerBob Weinand <bobwei9@hotmail.com>
Mon, 3 Aug 2015 22:00:10 +0000 (00:00 +0200)
commitd8fe645db444e54fcc8b2555c08a5021c17ca2d3
treed2185eecbadddafeddae9d061a105b0663fe9dec
parentb20953118ba41cd9465ccc84e79b6eef3f539573
Fix valgrind errors in phpdbg

Revert "We cannot safely assume that all op array will be refcount 0 after execution"
This reverts commit b6936adb58288a0606ed847802d9226cddb41e2b.

This change turns out to not have been a clever idea and was causing more weirdness than it helped...
12 files changed:
Zend/zend_compile.h
Zend/zend_opcode.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
sapi/phpdbg/phpdbg.c
sapi/phpdbg/phpdbg_list.c
sapi/phpdbg/phpdbg_list.h
sapi/phpdbg/phpdbg_parser.c
sapi/phpdbg/phpdbg_parser.h
sapi/phpdbg/phpdbg_parser.y
sapi/phpdbg/phpdbg_prompt.c
sapi/phpdbg/phpdbg_prompt.h