From d15557fb76ccafef24e928cbedcb13691d2788f0 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 27 Mar 2006 08:26:20 +0000 Subject: [PATCH] MF51: fix #36869 (memory leak in output buffering when using chunked output) --- main/output.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main/output.c b/main/output.c index 1ca6c1b4d8..f7f216fa10 100644 --- a/main/output.c +++ b/main/output.c @@ -675,11 +675,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; } -- 2.50.1