From 87859052e9d5969d04f0c47942b063bf3b9a7d22 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 20 Dec 2021 16:29:26 +0100 Subject: [PATCH] fix leak --- ion_private.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ion_private.h b/ion_private.h index 0070754..72a39b1 100644 --- a/ion_private.h +++ b/ion_private.h @@ -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)); -- 2.30.2