From d25f3819c70888d791eb8031e5049d0791c1b040 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Wed, 15 Jul 2015 22:30:12 +0200 Subject: Fix crash on non-debug for phpdbg_end_oplog() --- sapi/phpdbg/phpdbg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sapi/phpdbg/phpdbg.c') diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 3ee0bde97f..48ac68c7f4 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -111,6 +111,8 @@ static inline void php_phpdbg_globals_ctor(zend_phpdbg_globals *pg) /* {{{ */ pg->sigsafe_mem.mem = NULL; pg->sigsegv_bailout = NULL; + pg->oplog_list = NULL; + #ifdef PHP_WIN32 pg->sigio_watcher_thread = INVALID_HANDLE_VALUE; memset(&pg->swd, 0, sizeof(struct win32_sigio_watcher_data)); -- cgit v1.2.1