summaryrefslogtreecommitdiff
path: root/ext/com_dotnet
diff options
context:
space:
mode:
Diffstat (limited to 'ext/com_dotnet')
-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;