Fix crash on non-debug for phpdbg_end_oplog()

This commit is contained in:
Bob Weinand 2015-07-15 22:30:12 +02:00
parent 73773c2175
commit d25f3819c7

View File

@ -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));