mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-12187 Close resource to avoid memory leak
X-SVN-Rev: 38448
This commit is contained in:
parent
a9c247a3cb
commit
968747625e
1 changed files with 1 additions and 0 deletions
|
@ -444,6 +444,7 @@ void DateTimePatternGenerator::getPreferredHourFormats(const Locale &locale, UEr
|
|||
} else {
|
||||
status = U_INVALID_FORMAT_ERROR;
|
||||
}
|
||||
ures_close(countryData);
|
||||
ures_close(rb);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue