mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-15 01:42:37 +00:00
ICU-8718 Close opened resource bundle in TimeZoneFormat
X-SVN-Rev: 31556
This commit is contained in:
parent
2b85bffdd4
commit
91d55b284e
1 changed files with 2 additions and 0 deletions
|
@ -290,6 +290,8 @@ TimeZoneFormat::TimeZoneFormat(const Locale& locale, UErrorCode& status)
|
|||
if (len > 0) {
|
||||
hourFormats = resStr;
|
||||
}
|
||||
ures_close(zoneStringsArray);
|
||||
ures_close(zoneBundle);
|
||||
}
|
||||
|
||||
if (gmtPattern == NULL) {
|
||||
|
|
Loading…
Add table
Reference in a new issue