summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_list.h
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-08-04 00:00:10 +0200
committerBob Weinand <bobwei9@hotmail.com>2015-08-04 00:00:10 +0200
commitd8fe645db444e54fcc8b2555c08a5021c17ca2d3 (patch)
treed2185eecbadddafeddae9d061a105b0663fe9dec /sapi/phpdbg/phpdbg_list.h
parentb20953118ba41cd9465ccc84e79b6eef3f539573 (diff)
downloadphp-git-d8fe645db444e54fcc8b2555c08a5021c17ca2d3.tar.gz
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...
Diffstat (limited to 'sapi/phpdbg/phpdbg_list.h')
-rw-r--r--sapi/phpdbg/phpdbg_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_list.h b/sapi/phpdbg/phpdbg_list.h
index 8530ea264d..04a30e984c 100644
--- a/sapi/phpdbg/phpdbg_list.h
+++ b/sapi/phpdbg/phpdbg_list.h
@@ -48,7 +48,7 @@ typedef struct {
#if HAVE_MMAP
void *map;
#endif
- zend_op_array *op_array;
+ zend_op_array op_array;
zend_bool destroy_op_array;
uint lines;
uint line[1];