mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-11237 Fixed memory leak.
X-SVN-Rev: 36339
This commit is contained in:
parent
f8598fb484
commit
ff421e317a
1 changed files with 1 additions and 0 deletions
|
@ -276,6 +276,7 @@ void Region::loadRegionData(UErrorCode &status) {
|
|||
UResourceBundle *mapping = ures_getNextResource(territoryContainment.getAlias(),NULL,&status);
|
||||
const char *parent = ures_getKey(mapping);
|
||||
if (uprv_strcmp(parent, "containedGroupings") == 0 || uprv_strcmp(parent, "deprecated") == 0) {
|
||||
ures_close(mapping);
|
||||
continue; // handle new pseudo-parent types added in ICU data per cldrbug 7808; for now just skip.
|
||||
// #11232 is to do something useful with these.
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue