mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-9581 Fix some memory leaks in the intltest test code
X-SVN-Rev: 32393
This commit is contained in:
parent
aa6b32be4a
commit
2c52355d1b
2 changed files with 3 additions and 0 deletions
|
@ -53,6 +53,8 @@ void ListFormatterTest::CheckFourCases(const char* locale_string, UnicodeString
|
|||
|
||||
UnicodeString input4[] = {one, two, three, four};
|
||||
CheckFormatting(formatter, input4, 4, results[3]);
|
||||
|
||||
delete formatter;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -2287,6 +2287,7 @@ RBBIWordMonkey::~RBBIWordMonkey() {
|
|||
delete fExtendSet;
|
||||
delete fExtendNumLetSet;
|
||||
delete fRegionalIndicatorSet;
|
||||
delete fDictionaryCjkSet;
|
||||
delete fOtherSet;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue