summaryrefslogtreecommitdiff
path: root/ext/soap/php_sdl.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2017-06-13 17:15:47 +0300
committerDmitry Stogov <dmitry@zend.com>2017-06-13 17:15:47 +0300
commit648be8600ff89e1b0e4a4ad25cebad42b53bed6d (patch)
tree95305fc787839ee90180297b87a7e22b4c9e43c7 /ext/soap/php_sdl.c
parentc4d7cfa53631dcfb5e4dd3b736324ad3d15f2f59 (diff)
downloadphp-git-648be8600ff89e1b0e4a4ad25cebad42b53bed6d.tar.gz
Fixed bug #74679 (Incorrect conversion array with WSDL_CACHE_MEMORY)
Diffstat (limited to 'ext/soap/php_sdl.c')
-rw-r--r--ext/soap/php_sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_sdl.c b/ext/soap/php_sdl.c
index 49fd363511..c53fa8a758 100644
--- a/ext/soap/php_sdl.c
+++ b/ext/soap/php_sdl.c
@@ -2623,7 +2623,7 @@ static sdlAttributePtr make_persistent_sdl_attribute(sdlAttributePtr attr, HashT
pattr->extraAttributes = malloc(sizeof(HashTable));
zend_hash_init(pattr->extraAttributes, zend_hash_num_elements(attr->extraAttributes), NULL, delete_extra_attribute_persistent, 1);
- ZEND_HASH_FOREACH_STR_KEY_PTR(pattr->extraAttributes, key, tmp) {
+ ZEND_HASH_FOREACH_STR_KEY_PTR(attr->extraAttributes, key, tmp) {
if (key) {
pextra = malloc(sizeof(sdlExtraAttribute));
memset(pextra, 0, sizeof(sdlExtraAttribute));