From: Marcus Boerger Date: Sat, 2 Feb 2008 23:25:43 +0000 (+0000) Subject: - Fix build X-Git-Tag: RELEASE_2_0_0a1~649 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bffdbbbfa49d88a6e1f3496472856c095526c5da;p=php - Fix build --- diff --git a/main/output.c b/main/output.c index ea2ddf0015..774649d018 100644 --- a/main/output.c +++ b/main/output.c @@ -537,12 +537,13 @@ PHPAPI php_output_handler *php_output_handler_create_user(zval *output_handler, default: user = ecalloc(1, sizeof(php_output_handler_user_func_t)); MAKE_STD_ZVAL(handler_name); - if (SUCCESS == zend_fcall_info_init(output_handler, &user->fci, &user->fcc, handler_name TSRMLS_CC)) { + if (SUCCESS == zend_fcall_info_init(output_handler, 0, &user->fci, &user->fcc, handler_name, NULL TSRMLS_CC)) { handler = php_output_handler_init(handler_name, chunk_size, (flags & ~0xf) | PHP_OUTPUT_HANDLER_USER); Z_ADDREF_P(output_handler); user->zoh = output_handler; handler->func.user = user; } else { + /* TODO(helly) log the rror? */ efree(user); } zval_ptr_dtor(&handler_name);