ICU-432 more leak fixes

X-SVN-Rev: 1778
This commit is contained in:
Vladimir Weinstein 2000-07-10 22:03:16 +00:00
parent ccede1e5b9
commit 7d188ca73e
2 changed files with 6 additions and 0 deletions

View file

@ -450,6 +450,10 @@ void TestHashCode()
free(sortk1);
free(sortk2);
free(sortk3);
free(test1);
free(test2);
free(test3);
}
/*

View file

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