mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-2755 delete collator in test
X-SVN-Rev: 11850
This commit is contained in:
parent
9b139d6fb1
commit
a42d3a8d55
1 changed files with 2 additions and 1 deletions
|
@ -121,6 +121,7 @@ void CollationServiceTest::TestRegister()
|
|||
if (*fucol != *ncol) {
|
||||
errln("collator after unregister does not match original fu_FU");
|
||||
}
|
||||
delete uscol; uscol = NULL;
|
||||
delete ncol; ncol = NULL;
|
||||
delete fucol; fucol = NULL;
|
||||
}
|
||||
|
@ -194,7 +195,7 @@ public:
|
|||
for (CollatorInfo** p = info; *p; ++p) {
|
||||
delete *p;
|
||||
}
|
||||
delete info;
|
||||
delete[] info;
|
||||
delete[] ids;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue