ICU-1439 Fix the case when the wrong version is requested.

X-SVN-Rev: 11471
This commit is contained in:
George Rhoten 2003-04-08 02:05:16 +00:00
parent f7e4647f8c
commit f70487d239

View File

@ -159,6 +159,7 @@ _ISCIIOpen(UConverter *cnv, const char *name,const char *locale,uint32_t options
converterData->name[len+1]=0;
}else{
uprv_free(cnv->extraInfo);
cnv->extraInfo = NULL;
*errorCode = U_ILLEGAL_ARGUMENT_ERROR;
}