ICU-1439 Fix the case when the wrong version is requested.
X-SVN-Rev: 11471
This commit is contained in:
parent
f7e4647f8c
commit
f70487d239
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user