diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-07-05 13:32:39 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-07-05 13:32:39 +0300 |
commit | b6fb584505cfddcd20c9913e0931374a8ce33a3f (patch) | |
tree | cfcefd169332785b149b03ff3d80c88936a46051 /ext/soap/php_encoding.c | |
parent | 0d235517a36ea99c7fc1116e0dc90cba3c21a1f7 (diff) | |
download | php-git-b6fb584505cfddcd20c9913e0931374a8ce33a3f.tar.gz |
Replace zval_dtor() with specialized destructors
Diffstat (limited to 'ext/soap/php_encoding.c')
-rw-r--r-- | ext/soap/php_encoding.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c index c2aaf36797..0962e40118 100644 --- a/ext/soap/php_encoding.c +++ b/ext/soap/php_encoding.c @@ -971,7 +971,7 @@ static xmlNodePtr to_xml_hexbin(encodeTypePtr type, zval *data, int style, xmlNo xmlAddChild(ret, text); efree(str); if (data == &tmp) { - zval_dtor(&tmp); + zval_ptr_dtor_str(&tmp); } if (style == SOAP_ENCODED) { @@ -3069,7 +3069,9 @@ static xmlNodePtr to_xml_list(encodeTypePtr enc, zval *data, int style, xmlNodeP } smart_str_free(&list); efree(str); - if (data == &tmp) {zval_dtor(&tmp);} + if (data == &tmp) { + zval_ptr_dtor_str(&tmp); + } } return ret; } |