edink           Fri Oct 12 07:58:32 2007 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/win32      registry.c 
  Log:
  MFH (and build fix)
  
http://cvs.php.net/viewvc.cgi/php-src/win32/registry.c?r1=1.16.4.5&r2=1.16.4.5.2.1&diff_format=u
Index: php-src/win32/registry.c
diff -u php-src/win32/registry.c:1.16.4.5 php-src/win32/registry.c:1.16.4.5.2.1
--- php-src/win32/registry.c:1.16.4.5   Wed May  2 10:16:34 2007
+++ php-src/win32/registry.c    Fri Oct 12 07:58:32 2007
@@ -102,7 +102,7 @@
                                             
zend_hash_get_current_key_ex(parent_ht, &index, &index_len, &num, 0, &pos) == 
HASH_KEY_IS_STRING;
                                             
zend_hash_move_forward_ex(parent_ht, &pos)) {
                                                if (zend_hash_add(ht, index, 
index_len, data, sizeof(zval*), NULL) == SUCCESS) {
-                                                   (*data)->refcount++;
+                                                   Z_ADDREF_PP(data);
                                                }
                                        }
                                }

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

Reply via email to