From c1dc277c461b0da9e64d71038f956c96fa399fc7 Mon Sep 17 00:00:00 2001 From: Andy Heninger Date: Tue, 12 Jun 2012 18:23:49 +0000 Subject: [PATCH] ICU-9042 Memory leak in Time Unit Format. X-SVN-Rev: 31943 --- icu4c/source/i18n/tmutfmt.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/icu4c/source/i18n/tmutfmt.cpp b/icu4c/source/i18n/tmutfmt.cpp index e2394ed3ab9..19840508b1d 100644 --- a/icu4c/source/i18n/tmutfmt.cpp +++ b/icu4c/source/i18n/tmutfmt.cpp @@ -400,6 +400,7 @@ TimeUnitFormat::setup(UErrorCode& err) { checkConsistency(UTMUTFMT_FULL_STYLE, gUnitsTag, err); readFromCurrentLocale(UTMUTFMT_ABBREVIATED_STYLE, gShortUnitsTag, pluralCounts, err); checkConsistency(UTMUTFMT_ABBREVIATED_STYLE, gShortUnitsTag, err); + delete keywords; } -- 2.40.0