]> granicus.if.org Git - php/commit
Fix #48585: com_load_typelib holds reference, fails on second call
authorChristoph M. Becker <cmbecker69@gmx.de>
Tue, 4 Aug 2020 16:25:50 +0000 (18:25 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 11 Aug 2020 09:26:50 +0000 (11:26 +0200)
commitdc108feab8d88f62d7fcba3d2c9a058432463118
tree7d4aac2828f52ca441e1abfd5805ec3782164fb3
parent9d9dffe60aee0fb469ee0d414eca2a5033a7eafc
Fix #48585: com_load_typelib holds reference, fails on second call

Whether the type library is cached is actually irrelevant here; what
matters is that the symbols are imported, and since these are not
cached, we have to import them for every request.  And we cannot cache
the symbols, because the import depends on the current codepage, but
the codepage is a `PHP_INI_ALL` setting.
NEWS
ext/com_dotnet/com_com.c
ext/com_dotnet/com_extension.c