From: Wez Furlong Date: Fri, 28 Nov 2003 15:41:45 +0000 (+0000) Subject: fix memleak X-Git-Tag: php-5.0.0b3RC1~561 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=440c4d983f68cbbbbc27bcebc8309477847a0aca;p=php fix memleak --- 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;