]> granicus.if.org Git - php/commit
Fix #79333: com_print_typeinfo() leaks memory
authorChristoph M. Becker <cmbecker69@gmx.de>
Mon, 2 Mar 2020 10:36:30 +0000 (11:36 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Mon, 2 Mar 2020 10:36:30 +0000 (11:36 +0100)
commit53140e5c567af6cba0779e178394404f92213713
tree35f9fab5e712bb1c4dd74abe639a4792bdd86cd6
parent2adf1c4d23467424012db1971d0a0a678d10d782
Fix #79333: com_print_typeinfo() leaks memory

We have to free the `ansiname`s, regardless of whether they have been
put into the hashtable or not.

Since bug79299.phpt already shows the leak when run with a leak
checker, there is no need for another regression test.
NEWS
ext/com_dotnet/com_typeinfo.c