]> granicus.if.org Git - php/commitdiff
Bugfix #22367
authorMarcus Boerger <helly@php.net>
Mon, 5 May 2003 22:36:16 +0000 (22:36 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 5 May 2003 22:36:16 +0000 (22:36 +0000)
main/output.c

index 551dd2675f6baf83a2ab2ecd557df102cf27cfe3..b4bcbb2d699d282bb729093faed9548de9cc3294 100644 (file)
@@ -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 {