mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
MFB: Fix for bug #23489.
This commit is contained in:
parent
6360bda763
commit
4c8e30eccc
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue