From: Michael Wallner Date: Thu, 19 May 2022 08:24:25 +0000 (+0200) Subject: apply the previous fix to arrays, too X-Git-Tag: v0.2.1~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=b7e6e294b397cceb88c7c93f229ca4a98bf29ae4;p=awesomized%2Fext-ion apply the previous fix to arrays, too --- diff --git a/ion_private.h b/ion_private.h index 27c2670..64d2a33 100644 --- a/ion_private.h +++ b/ion_private.h @@ -2410,6 +2410,7 @@ static void php_ion_unserialize_hash(php_ion_unserializer *ser, zval *return_val ION_CATCH(); zval zvalue; + ZVAL_UNDEF(&zvalue); php_ion_unserialize_zval(ser, &zvalue, &typ); ION_CATCH(zend_string_release(key));