summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_com.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-08-18 04:41:48 (GMT)
committerIlia Alshanetsky <iliaa@php.net>2003-08-18 04:41:48 (GMT)
commit741014089e3f834fdaeb99f7b568d48f3674518a (patch)
treebb4c53c62b8cb5ceb73821761d96d2d116315860 /ext/com_dotnet/com_com.c
parent4863dd532380f08002e1d3e2c1809031580cefcc (diff)
downloadphp-741014089e3f834fdaeb99f7b568d48f3674518a.tar.gz
emalloc -> safe_emalloc
Diffstat (limited to 'ext/com_dotnet/com_com.c')
-rw-r--r--ext/com_dotnet/com_com.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/com_dotnet/com_com.c b/ext/com_dotnet/com_com.c
index 71ef848..8b296a7 100644
--- a/ext/com_dotnet/com_com.c
+++ b/ext/com_dotnet/com_com.c
@@ -373,7 +373,7 @@ int php_com_do_invoke_by_id(php_com_dotnet_object *obj, DISPID dispid,
int i;
if (nargs) {
- vargs = (VARIANT*)emalloc(sizeof(VARIANT) * nargs);
+ vargs = (VARIANT*)safe_emalloc(sizeof(VARIANT), nargs, 0);
}
/* Invoke'd args are in reverse order */