cvs: php4(PHP_4_3) /ext/com COM.c

From: Date: Mon, 10 Feb 2003 00:45:17 +0000
Subject: cvs: php4(PHP_4_3) /ext/com COM.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-18599@lists.php.net to get a copy of this message
phanto Sun Feb 9 19:45:17 2003 EDT Modified files: (Branch: PHP_4_3) /php4/ext/com COM.c Log: fixed memleak Index: php4/ext/com/COM.c diff -u php4/ext/com/COM.c:1.90.2.3 php4/ext/com/COM.c:1.90.2.4 --- php4/ext/com/COM.c:1.90.2.3 Tue Jan 28 19:59:54 2003 +++ php4/ext/com/COM.c Sun Feb 9 19:45:15 2003 @@ -18,7 +18,7 @@ | Wez Furlong <wez@thebrainroom.com> | +----------------------------------------------------------------------+ */ -/* $Id: COM.c,v 1.90.2.3 2003/01/29 00:59:54 phanto Exp $ */ +/* $Id: COM.c,v 1.90.2.4 2003/02/10 00:45:15 phanto Exp $ */ /* * This module implements support for COM components that support the IDispatch * interface. Both local (COM) and remote (DCOM) components can be accessed. @@ -1846,10 +1846,7 @@ return retval; } - if (obj == obj_prop) { - // not head - pval_destructor(&overloaded_property->element); - } + pval_destructor(&overloaded_property->element); if (V_VT(var_result) == VT_DISPATCH) { if (V_DISPATCH(var_result) == NULL) {

« previous php.cvs (#18599) next »