mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-18 03:06:38 +00:00
ICU-432 more leak fixes
X-SVN-Rev: 1778
This commit is contained in:
parent
ccede1e5b9
commit
7d188ca73e
2 changed files with 6 additions and 0 deletions
|
@ -450,6 +450,10 @@ void TestHashCode()
|
|||
free(sortk1);
|
||||
free(sortk2);
|
||||
free(sortk3);
|
||||
free(test1);
|
||||
free(test2);
|
||||
free(test3);
|
||||
|
||||
|
||||
}
|
||||
/*
|
||||
|
|
|
@ -214,6 +214,7 @@ UBool convertFromU( const UChar *source, int sourceLen, const char *expect, int
|
|||
NULL,/*offs,*/
|
||||
TRUE, /* flush if we're at the end of the input data */
|
||||
&status);
|
||||
ucnv_close(conv);
|
||||
if(U_FAILURE(status)){
|
||||
if(status == expectedStatus){
|
||||
return TRUE;
|
||||
|
@ -245,5 +246,6 @@ UBool convertFromU( const UChar *source, int sourceLen, const char *expect, int
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue