From 91d55b284eb343a62942c9a040295901c32e1a76 Mon Sep 17 00:00:00 2001 From: Michael Ow Date: Thu, 1 Mar 2012 18:11:32 +0000 Subject: [PATCH] ICU-8718 Close opened resource bundle in TimeZoneFormat X-SVN-Rev: 31556 --- icu4c/source/i18n/tzfmt.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.40.0