diff options
author | Antony Dovgal <tony2001@php.net> | 2006-03-27 08:26:10 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-03-27 08:26:10 +0000 |
commit | 2030a7a2eda129112bb0cd05fdfe5c4aa9fb8de3 (patch) | |
tree | 1d3ed1717590f17161d1489508be9161ec3f4c9b /main | |
parent | cde55c922383f43689132fb1707916a0dcb38dfe (diff) | |
download | php-git-2030a7a2eda129112bb0cd05fdfe5c4aa9fb8de3.tar.gz |
fix #36869 (memory leak in output buffering when using chunked output)
Diffstat (limited to 'main')
-rw-r--r-- | main/output.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/main/output.c b/main/output.c index 9f62418914..522ff35b0c 100644 --- a/main/output.c +++ b/main/output.c @@ -606,11 +606,7 @@ static inline void php_ob_append(const char *text, uint text_length TSRMLS_DC) /* If implicit_flush is On or chunked buffering, send contents to next buffer and return. */ if (OG(active_ob_buffer).chunk_size && OG(active_ob_buffer).text_length >= OG(active_ob_buffer).chunk_size) { - zval *output_handler = OG(active_ob_buffer).output_handler; - if (output_handler) { - output_handler->refcount++; - } php_end_ob_buffer(1, 1 TSRMLS_CC); return; } |