Browse Source

Fix crash on non-debug for phpdbg_end_oplog()

pull/1301/head
Bob Weinand 11 years ago
parent
commit
d25f3819c7
  1. 2
      sapi/phpdbg/phpdbg.c

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

Loading…
Cancel
Save