summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_handlers.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2003-11-28 15:41:45 +0000
committerWez Furlong <wez@php.net>2003-11-28 15:41:45 +0000
commit440c4d983f68cbbbbc27bcebc8309477847a0aca (patch)
treeca68968e6a90bf5f5d8552a12f8723cbabb0ca06 /ext/com_dotnet/com_handlers.c
parent7203684680ebe3a8cf144270b126e9553d36335a (diff)
downloadphp-git-440c4d983f68cbbbbc27bcebc8309477847a0aca.tar.gz
fix memleak
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 2911e693da..f75aa1c355 100644
--- a/ext/com_dotnet/com_handlers.c
+++ b/ext/com_dotnet/com_handlers.c
@@ -275,7 +275,7 @@ static union _zend_function *com_method_get(zval *object, char *name, int len TS
}
f = emalloc(sizeof(zend_internal_function));
- f->type = ZEND_OVERLOADED_FUNCTION;
+ f->type = ZEND_OVERLOADED_FUNCTION_TEMPORARY;
f->num_args = 0;
f->arg_info = NULL;
f->scope = obj->ce;