summaryrefslogtreecommitdiff
path: root/ext/soap/php_encoding.c
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2016-08-30 17:21:13 +0200
committerNikita Popov <nikic@php.net>2016-08-30 17:21:33 +0200
commitb218eb916fcdc4643e082458b567a2f9ef24127f (patch)
treec0ac34a8bd4cfe6d2aa541ce7a12ac5becfb761f /ext/soap/php_encoding.c
parentecdef60d000210f4d22e95de4209db73a0c8344f (diff)
parent8e487aefaaf88bdad6343da06286bfc86063836c (diff)
downloadphp-git-b218eb916fcdc4643e082458b567a2f9ef24127f.tar.gz
Merge branch 'PHP-7.0' into PHP-7.1
Diffstat (limited to 'ext/soap/php_encoding.c')
-rw-r--r--ext/soap/php_encoding.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c
index 7f80b58bd5..58eaeea666 100644
--- a/ext/soap/php_encoding.c
+++ b/ext/soap/php_encoding.c
@@ -2115,6 +2115,7 @@ static void add_xml_array_elements(xmlNodePtr xmlParam,
if (j >= dims[0]) {
break;
}
+ ZVAL_DEREF(zdata);
if (dimension == 1) {
if (enc == NULL) {
xparam = master_to_xml(get_conversion(Z_TYPE_P(zdata)), zdata, style, xmlParam);