diff options
author | Sebastian Bergmann <sebastian@php.net> | 2003-05-06 04:22:01 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@php.net> | 2003-05-06 04:22:01 +0000 |
commit | 4c8e30eccc62c6fb391d59de23fa657c93ba24cb (patch) | |
tree | 1e6afa99a8b286b5832a10640c58188a60d655dd | |
parent | 6360bda763320434571b97f4707b773fbd35373e (diff) | |
download | php-git-4c8e30eccc62c6fb391d59de23fa657c93ba24cb.tar.gz |
MFB: Fix for bug #23489.
-rw-r--r-- | main/output.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/output.c b/main/output.c index c11e326bf2..e2ffa77354 100644 --- a/main/output.c +++ b/main/output.c @@ -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 { |