summaryrefslogtreecommitdiff
path: root/win32/registry.c
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2007-10-12 07:58:32 +0000
committerEdin Kadribasic <edink@php.net>2007-10-12 07:58:32 +0000
commitf1bcbb97ea3c3d9d08a04d632b1ad5134f8812e8 (patch)
tree5b1b0319a637f469a8b0817369731e58481e2756 /win32/registry.c
parent3762dfc09ffad7bf5be33d7afb6555659ba9ba41 (diff)
downloadphp-git-f1bcbb97ea3c3d9d08a04d632b1ad5134f8812e8.tar.gz
MFH (and build fix)
Diffstat (limited to 'win32/registry.c')
-rw-r--r--win32/registry.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}
}