From f1bcbb97ea3c3d9d08a04d632b1ad5134f8812e8 Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Fri, 12 Oct 2007 07:58:32 +0000 Subject: [PATCH] MFH (and build fix) --- win32/registry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/registry.c b/win32/registry.c index cdeb85f21d..d5f84af595 100644 --- a/win32/registry.c +++ b/win32/registry.c @@ -102,7 +102,7 @@ static int LoadDirectory(HashTable *directories, HKEY key, char *path, int path_ 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); } } } -- 2.50.1