From e51677b2e6ce72a3c1325e14ff932720f5b5d523 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 2 Sep 2014 11:24:52 +0400 Subject: fixed reference counting --- win32/registry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32/registry.c') diff --git a/win32/registry.c b/win32/registry.c index 8ed838b1d1..10372cd624 100644 --- a/win32/registry.c +++ b/win32/registry.c @@ -244,7 +244,7 @@ void UpdateIniFromRegistry(char *path TSRMLS_DC) zval *data; ZEND_HASH_FOREACH_KEY_VAL(ht, num, index, data) { - zend_alter_ini_entry(index, Z_STRVAL_P(data), Z_STRLEN_P(data), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); + zend_alter_ini_entry(index, Z_STR_P(data), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); } ZEND_HASH_FOREACH_END(); /* for (zend_hash_internal_pointer_reset_ex(ht, &pos); -- cgit v1.2.1