summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_handlers.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-08-18 04:41:48 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-08-18 04:41:48 +0000
commit741014089e3f834fdaeb99f7b568d48f3674518a (patch)
treebb4c53c62b8cb5ceb73821761d96d2d116315860 /ext/com_dotnet/com_handlers.c
parent4863dd532380f08002e1d3e2c1809031580cefcc (diff)
downloadphp-git-741014089e3f834fdaeb99f7b568d48f3674518a.tar.gz
emalloc -> safe_emalloc
Diffstat (limited to 'ext/com_dotnet/com_handlers.c')
-rw-r--r--ext/com_dotnet/com_handlers.c2
1 files changed, 1 insertions, 1 deletions
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);
}