From 1da4ee25b89a668d55064f6cbfd62fcf1c9d00ef Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Fri, 31 Jul 2015 02:05:49 +0200 Subject: Fix oplog trace with already freed closures --- sapi/phpdbg/phpdbg_list.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sapi/phpdbg/phpdbg_list.c') 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; -- cgit v1.2.1