ICU-9581 Fix some memory leaks in the intltest test code

X-SVN-Rev: 32393
This commit is contained in:
Michael Ow 2012-09-17 17:53:25 +00:00
parent aa6b32be4a
commit 2c52355d1b
2 changed files with 3 additions and 0 deletions

View file

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

View file

@ -2287,6 +2287,7 @@ RBBIWordMonkey::~RBBIWordMonkey() {
delete fExtendSet;
delete fExtendNumLetSet;
delete fRegionalIndicatorSet;
delete fDictionaryCjkSet;
delete fOtherSet;
}