ICU-8718 Close opened resource bundle in TimeZoneFormat

X-SVN-Rev: 31556
This commit is contained in:
Michael Ow 2012-03-01 18:11:32 +00:00
parent 2b85bffdd4
commit 91d55b284e

View File

@ -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) {