diff options
author | Felipe Pena <felipe@php.net> | 2008-11-12 16:40:40 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2008-11-12 16:40:40 +0000 |
commit | f85b94ef337c10b08b0bf79be78148a765a9b4b9 (patch) | |
tree | 7889ae9fc5b00e10cbe15d9cb6ef3f15dc764343 /main/main.c | |
parent | b9853c4ff0dbc3611391ca71ed21e504c6a1e31a (diff) | |
download | php-git-f85b94ef337c10b08b0bf79be78148a765a9b4b9.tar.gz |
- Silent valgrind
Diffstat (limited to 'main/main.c')
-rw-r--r-- | main/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c index fa54e625e9..df91aa2615 100644 --- a/main/main.c +++ b/main/main.c @@ -1480,7 +1480,7 @@ void php_request_shutdown(void *dummy) zend_try { zend_bool send_buffer = SG(request_info).headers_only ? 0 : 1; if (CG(unclean_shutdown) && PG(last_error_type) == E_ERROR && - !OG(active_ob_buffer).chunk_size && PG(memory_limit) < zend_memory_usage(1 TSRMLS_CC)) { + OG(ob_nesting_level) && !OG(active_ob_buffer).chunk_size && PG(memory_limit) < zend_memory_usage(1 TSRMLS_CC)) { send_buffer = 0; } php_end_ob_buffers(send_buffer TSRMLS_CC); |