diff --git a/main/output.c b/main/output.c index 1ca6c1b4d8f..f7f216fa108 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; }