wez Fri Nov 28 10:41:46 2003 EDT Modified files: /php-src/ext/com_dotnet com_handlers.c Log: fix memleak Index: php-src/ext/com_dotnet/com_handlers.c diff -u php-src/ext/com_dotnet/com_handlers.c:1.6 php-src/ext/com_dotnet/com_handlers.c:1.7 --- php-src/ext/com_dotnet/com_handlers.c:1.6 Thu Nov 27 12:58:58 2003 +++ php-src/ext/com_dotnet/com_handlers.c Fri Nov 28 10:41:45 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: com_handlers.c,v 1.6 2003/11/27 17:58:58 wez Exp $ */ +/* $Id: com_handlers.c,v 1.7 2003/11/28 15:41:45 wez Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -275,7 +275,7 @@ } 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;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php