ICU-5955 Fix a memory leak and a compiler warning.
X-SVN-Rev: 23033
This commit is contained in:
parent
2297d8ce9c
commit
16606cd531
@ -469,9 +469,9 @@ ConversionTest::TestGetUnicodeSet() {
|
|||||||
U_CDECL_BEGIN
|
U_CDECL_BEGIN
|
||||||
static void U_CALLCONV
|
static void U_CALLCONV
|
||||||
getUnicodeSetCallback(const void *context,
|
getUnicodeSetCallback(const void *context,
|
||||||
UConverterFromUnicodeArgs *fromUArgs,
|
UConverterFromUnicodeArgs * /*fromUArgs*/,
|
||||||
const UChar* codeUnits,
|
const UChar* /*codeUnits*/,
|
||||||
int32_t length,
|
int32_t /*length*/,
|
||||||
UChar32 codePoint,
|
UChar32 codePoint,
|
||||||
UConverterCallbackReason reason,
|
UConverterCallbackReason reason,
|
||||||
UErrorCode *pErrorCode) {
|
UErrorCode *pErrorCode) {
|
||||||
@ -638,6 +638,7 @@ ConversionTest::TestGetUnicodeSet2() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ucnv_close(cnv);
|
||||||
}
|
}
|
||||||
|
|
||||||
delete [] s0;
|
delete [] s0;
|
||||||
|
Loading…
Reference in New Issue
Block a user