mirror of
https://github.com/php/php-src.git
synced 2026-04-29 03:03:26 +02:00
MFB: Fix for bug #23489.
This commit is contained in:
@@ -483,6 +483,7 @@ static int php_ob_init(uint initial_size, uint block_size, zval *output_handler,
|
||||
/* do we have array(object,method) */
|
||||
if (zend_is_callable(output_handler, 1, &handler_name)) {
|
||||
SEPARATE_ZVAL(&output_handler);
|
||||
output_handler->refcount++;
|
||||
result = php_ob_init_named(initial_size, block_size, handler_name, output_handler, chunk_size, erase TSRMLS_CC);
|
||||
efree(handler_name);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user