From a2ba018519d04b1b383c010ba9936073b21df0ba Mon Sep 17 00:00:00 2001 From: Michael Ow Date: Fri, 12 Mar 2010 16:28:01 +0000 Subject: [PATCH] ICU-6911 Add value deleter when copying hash table. X-SVN-Rev: 27834 --- icu4c/source/i18n/selfmt.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/icu4c/source/i18n/selfmt.cpp b/icu4c/source/i18n/selfmt.cpp index 4c88d9cdda..6fcec5b849 100755 --- a/icu4c/source/i18n/selfmt.cpp +++ b/icu4c/source/i18n/selfmt.cpp @@ -420,6 +420,7 @@ SelectFormat::copyHashtable(Hashtable *other, UErrorCode& status) { if (U_FAILURE(status)){ return; } + parsedValuesHash->setValueDeleter(uhash_deleteUnicodeString); int32_t pos = -1; const UHashElement* elem = NULL;