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  <[EMAIL PROTECTED]>                          |
    +----------------------------------------------------------------------+
  */
-/* $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) {



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to