diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | ext/com_dotnet/com_typeinfo.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -18,6 +18,7 @@ PHP NEWS . Fixed bug #79299 (com_print_typeinfo prints duplicate variables). (Litiano Moura) . Fixed bug #79332 (php_istreams are never freed). (cmb) + . Fixed bug #79333 (com_print_typeinfo() leaks memory). (cmb) - CURL: . Fixed bug #79019 (Copied cURL handles upload empty file). (cmb) diff --git a/ext/com_dotnet/com_typeinfo.c b/ext/com_dotnet/com_typeinfo.c index bb5f92a591..4ee73cf41f 100644 --- a/ext/com_dotnet/com_typeinfo.c +++ b/ext/com_dotnet/com_typeinfo.c @@ -626,8 +626,8 @@ int php_com_process_typeinfo(ITypeInfo *typeinfo, HashTable *id_to_name, int pri ZVAL_STRINGL(&tmp, ansiname, ansinamelen); zend_hash_index_update(id_to_name, func->memid, &tmp); // TODO: avoid reallocation??? - efree(ansiname); } + efree(ansiname); } ITypeInfo_ReleaseFuncDesc(typeinfo, func); } |