mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-15 01:42:37 +00:00
ICU-5955 Fix a memory leak and a compiler warning.
X-SVN-Rev: 23033
This commit is contained in:
parent
2297d8ce9c
commit
16606cd531
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue