ICU-12030 Update destructor to delete all patterns

X-SVN-Rev: 38148
This commit is contained in:
Michael Ow 2015-12-31 21:12:07 +00:00
parent 5b0ff67dfa
commit a9395a0af8

View file

@ -167,7 +167,7 @@ MeasureFormatCacheData::~MeasureFormatCacheData() {
}
for (int32_t i = 0; i < MEAS_UNIT_COUNT; ++i) {
for (int32_t j = 0; j < WIDTH_INDEX_COUNT; ++j) {
for (int32_t k = 0; k < StandardPlural::COUNT; ++k) {
for (int32_t k = 0; k < PATTERN_COUNT; ++k) {
delete patterns[i][j][k];
}
}