From 741014089e3f834fdaeb99f7b568d48f3674518a Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 18 Aug 2003 04:41:48 +0000 Subject: emalloc -> safe_emalloc --- ext/com_dotnet/com_handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/com_dotnet/com_handlers.c') diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c index baf129a91f..0e8337c1ec 100644 --- a/ext/com_dotnet/com_handlers.c +++ b/ext/com_dotnet/com_handlers.c @@ -353,7 +353,7 @@ static int com_call_method(char *method, INTERNAL_FUNCTION_PARAMETERS) nargs = ZEND_NUM_ARGS(); if (nargs) { - args = (zval **)emalloc(sizeof(zval *) * nargs); + args = (zval **)safe_emalloc(sizeof(zval *), nargs, 0); zend_get_parameters_array(ht, nargs, args); } -- cgit v1.2.1