Skip to content

Commit f1bcbb9

Browse files
committedOct 12, 2007
MFH (and build fix)
1 parent 3762dfc commit f1bcbb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎win32/registry.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static int LoadDirectory(HashTable *directories, HKEY key, char *path, int path_
102102
zend_hash_get_current_key_ex(parent_ht, &index, &index_len, &num, 0, &pos) == HASH_KEY_IS_STRING;
103103
zend_hash_move_forward_ex(parent_ht, &pos)) {
104104
if (zend_hash_add(ht, index, index_len, data, sizeof(zval*), NULL) == SUCCESS) {
105-
(*data)->refcount++;
105+
Z_ADDREF_PP(data);
106106
}
107107
}
108108
}

0 commit comments

Comments
 (0)
Failed to load comments.