ICU-12187 Close resource to avoid memory leak

X-SVN-Rev: 38448
This commit is contained in:
Michael Ow 2016-03-01 18:32:00 +00:00
parent a9c247a3cb
commit 968747625e

View file

@ -444,6 +444,7 @@ void DateTimePatternGenerator::getPreferredHourFormats(const Locale &locale, UEr
} else {
status = U_INVALID_FORMAT_ERROR;
}
ures_close(countryData);
ures_close(rb);
}