diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2015-07-31 02:05:49 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2015-07-31 02:06:03 +0200 |
commit | 1da4ee25b89a668d55064f6cbfd62fcf1c9d00ef (patch) | |
tree | 328a37f388101805ccc8da6f037c19bb2dfbec85 /sapi/phpdbg/phpdbg_list.c | |
parent | 57247f01f74acf55cbe6fb2ee2c117d6db3848db (diff) | |
download | php-git-1da4ee25b89a668d55064f6cbfd62fcf1c9d00ef.tar.gz |
Fix oplog trace with already freed closures
Diffstat (limited to 'sapi/phpdbg/phpdbg_list.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_list.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg_list.c b/sapi/phpdbg/phpdbg_list.c index 89e352a971..7413ded884 100644 --- a/sapi/phpdbg/phpdbg_list.c +++ b/sapi/phpdbg/phpdbg_list.c @@ -320,6 +320,7 @@ zend_op_array *phpdbg_init_compile_file(zend_file_handle *file, int type) { *dataptr->op_array->refcount = 2; dataptr->destroy_op_array = 0; } + ++*dataptr->op_array->refcount; } return ret; |