diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2014-10-26 20:43:49 +0100 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2014-10-27 00:00:16 +0100 |
commit | 3ab7734b88f1842b818526e2e3f34022c3270057 (patch) | |
tree | 5b15ca20f618c68f16b66a351f9437f2c0c2adc3 /sapi/phpdbg/phpdbg_out.c | |
parent | 69bc61de419ccd92bfa308f356b56591f7696413 (diff) | |
download | php-git-3ab7734b88f1842b818526e2e3f34022c3270057.tar.gz |
Stabilize execution, always run destructors and extended file breakpoints
Diffstat (limited to 'sapi/phpdbg/phpdbg_out.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_out.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg_out.c b/sapi/phpdbg/phpdbg_out.c index a4793f144f..365708c71e 100644 --- a/sapi/phpdbg/phpdbg_out.c +++ b/sapi/phpdbg/phpdbg_out.c @@ -1117,6 +1117,8 @@ PHPDBG_API int phpdbg_vprint(int type TSRMLS_DC, int fd, const char *tag, const } if (PHPDBG_G(err_buf).active && type != P_STDOUT && type != P_STDERR) { + phpdbg_free_err_buf(TSRMLS_C); + PHPDBG_G(err_buf).type = type; PHPDBG_G(err_buf).fd = fd; PHPDBG_G(err_buf).tag = estrdup(tag); |