fix leak
authorMichael Wallner <mike@php.net>
Mon, 20 Dec 2021 15:29:26 +0000 (16:29 +0100)
committerMichael Wallner <mike@php.net>
Mon, 20 Dec 2021 15:29:26 +0000 (16:29 +0100)
ion_private.h

index 0070754fd1de3657681ff02aa99f46efb7a67bf0..72a39b1ba1628a9e6b706ac7132f1f29d1692b4c 100644 (file)
@@ -946,6 +946,7 @@ static inline void php_ion_catalog_symbol_table_zval(php_ion_catalog *obj, ION_S
                ZVAL_ADDREF(return_value);
                add_assoc_zval_ex(ztabs, key->val, key->len, return_value);
        }
+       zend_string_release(key);
 }
 
 php_ion_decl(catalog, Catalog, php_ion_catalog_dtor(obj));