ICU-5955 Fix a memory leak and a compiler warning.

X-SVN-Rev: 23033
This commit is contained in:
George Rhoten 2007-12-06 17:12:29 +00:00
parent 2297d8ce9c
commit 16606cd531

View File

@ -469,9 +469,9 @@ ConversionTest::TestGetUnicodeSet() {
U_CDECL_BEGIN
static void U_CALLCONV
getUnicodeSetCallback(const void *context,
UConverterFromUnicodeArgs *fromUArgs,
const UChar* codeUnits,
int32_t length,
UConverterFromUnicodeArgs * /*fromUArgs*/,
const UChar* /*codeUnits*/,
int32_t /*length*/,
UChar32 codePoint,
UConverterCallbackReason reason,
UErrorCode *pErrorCode) {
@ -638,6 +638,7 @@ ConversionTest::TestGetUnicodeSet2() {
}
}
}
ucnv_close(cnv);
}
delete [] s0;