[GIT-PULLS] [php-src] PR #23347: Close a UConverter that fails callback install

[email protected] (iliaal)
Newsgroups php.git-pulls
Message-ID <[email protected]>
Pull Request: https://github.com/php/php-src/pull/23347
Author: iliaal

ucnv_open() can succeed and php_converter_set_callbacks() can still fail on a UConverter subclass. The converter was neither stored nor closed. Close it on that return. The default class skips callback install; transcode passes a NULL object.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.