zeev            Mon Aug 18 19:13:25 2003 EDT

  Modified files:              
    /php-src/ext/dom    php_dom.c 
  Log:
  Get rid of PZVAL_UNLOCK() - fix untested
  
  
Index: php-src/ext/dom/php_dom.c
diff -u php-src/ext/dom/php_dom.c:1.23 php-src/ext/dom/php_dom.c:1.24
--- php-src/ext/dom/php_dom.c:1.23      Sun Jul 27 16:21:36 2003
+++ php-src/ext/dom/php_dom.c   Mon Aug 18 19:13:25 2003
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: php_dom.c,v 1.23 2003/07/27 20:21:36 rrichards Exp $ */
+/* $Id: php_dom.c,v 1.24 2003/08/18 23:13:25 zeev Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -306,8 +306,7 @@
                ret = hnd->read_func(obj, &retval TSRMLS_CC);
                if (ret == SUCCESS) {
                        /* ensure we're creating a temporary variable */
-                       retval->refcount = 1;
-                       PZVAL_UNLOCK(retval);
+                       retval->refcount = 0;
                } else {
                        retval = EG(uninitialized_zval_ptr);
                }



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

Reply via email to