ICU-6911 delete selectformat object after use.
X-SVN-Rev: 27832
This commit is contained in:
parent
a24dde121f
commit
a22a3ac92c
@ -115,6 +115,9 @@ void SelectFormatTest::selectFormatUnitTest(/*char *par*/)
|
||||
}
|
||||
}
|
||||
|
||||
delete selFmt;
|
||||
selFmt = NULL;
|
||||
|
||||
logln("SelectFormat Unit Test : Creating format object for Testing applying various patterns");
|
||||
status = U_ZERO_ERROR;
|
||||
selFmt = new SelectFormat( SIMPLE_PATTERN , status);
|
||||
@ -164,6 +167,9 @@ void SelectFormatTest::selectFormatUnitTest(/*char *par*/)
|
||||
"*Keyword-_" //Starts with a sepial character not allowed
|
||||
};
|
||||
|
||||
delete selFmt;
|
||||
selFmt = NULL;
|
||||
|
||||
selFmt = new SelectFormat( SIMPLE_PATTERN , status);
|
||||
for (int32_t i = 0; i< 6; i++ ){
|
||||
status = U_ZERO_ERROR;
|
||||
|
Loading…
Reference in New Issue
Block a user