From 440c4d983f68cbbbbc27bcebc8309477847a0aca Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Fri, 28 Nov 2003 15:41:45 +0000 Subject: [PATCH] fix memleak --- ext/com_dotnet/com_handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1