ICU-9042 Memory leak in Time Unit Format.

X-SVN-Rev: 31943
This commit is contained in:
Andy Heninger 2012-06-12 18:23:49 +00:00
parent 9ac0795d43
commit c1dc277c46

View File

@ -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;
}