ICU-5426 Fix uninitialized memory access from last change.

X-SVN-Rev: 20474
This commit is contained in:
George Rhoten 2006-10-03 02:55:41 +00:00
parent b3c7746b16
commit 70cb51cb3b

View file

@ -1050,6 +1050,7 @@ static UBool haveAvailableConverterList(UErrorCode *pErrorCode) {
}
/* Open the default converter to make sure that it has first dibs in the hash table. */
localStatus = U_ZERO_ERROR;
ucnv_close(ucnv_createConverter(&tempConverter, NULL, &localStatus));
localConverterCount = 0;