diff options
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | ext/rpc/com/COM.c | 1 |
2 files changed, 5 insertions, 1 deletions
@@ -2,7 +2,10 @@ PHP 4.0 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2000, Version 4.0.0 Release -- Fix overrun in WDDX. (Thies) +- Fixed a memory leak in the COM module (Zeev) +- Fixed problems with object-overloading support - noteably, COM and Java (Zeev, + Zend Engine) +- Fixed an overrun in WDDX. (Thies) - Fixed a crash bug with modules loaded through dl() not properly freeing their resources (Zeev, Zend Engine) - Added the localtime function. (Sterling) diff --git a/ext/rpc/com/COM.c b/ext/rpc/com/COM.c index 9eb6a245cf..d08a2ecb00 100644 --- a/ext/rpc/com/COM.c +++ b/ext/rpc/com/COM.c @@ -533,6 +533,7 @@ int do_COM_invoke(IDispatch *i_dispatch, pval *function_name, VARIANTARG *var_re for (current_arg=0; current_arg<arg_count; current_arg++) { current_variant = arg_count - current_arg - 1; + zval_dtor(arguments[current_arg]); php_variant_to_pval(&variant_args[current_variant], arguments[current_arg], 0); } |