From: Michael Ow Date: Thu, 1 Mar 2012 18:11:32 +0000 (+0000) Subject: ICU-8718 Close opened resource bundle in TimeZoneFormat X-Git-Tag: milestone-59-0-1~3942 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91d55b284eb343a62942c9a040295901c32e1a76;p=icu ICU-8718 Close opened resource bundle in TimeZoneFormat X-SVN-Rev: 31556 --- diff --git a/icu4c/source/i18n/tzfmt.cpp b/icu4c/source/i18n/tzfmt.cpp index a1ad9bd1a43..79210ad0e27 100644 --- a/icu4c/source/i18n/tzfmt.cpp +++ b/icu4c/source/i18n/tzfmt.cpp @@ -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) {