From 16606cd531458d8ab30427b229e92f8a4cd72540 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Thu, 6 Dec 2007 17:12:29 +0000 Subject: [PATCH] ICU-5955 Fix a memory leak and a compiler warning. X-SVN-Rev: 23033 --- icu4c/source/test/intltest/convtest.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/icu4c/source/test/intltest/convtest.cpp b/icu4c/source/test/intltest/convtest.cpp index 2afbcc92e40..906b2294cb4 100644 --- a/icu4c/source/test/intltest/convtest.cpp +++ b/icu4c/source/test/intltest/convtest.cpp @@ -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;