[GIT-PULLS] [php-src] PR #23351: Close the keyword UEnumeration on Locale::getKeywords failure

[email protected] (iliaal)
Newsgroups php.git-pulls
Message-ID <SfzD2ZMo8SLfkSzlBoOYns9VF9scAwdkHm3lKpk7yRw@main.internal.php.net>
Pull Request: https://github.com/php/php-src/pull/23351
Author: iliaal

Locale::getKeywords() destroyed the result array and returned when uloc_getKeywordValue() failed, without uenum_close(). Close the enumeration on that path. The success path already does.
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.