ICU-770 Memory cleanup
X-SVN-Rev: 6471
This commit is contained in:
parent
d663f96a92
commit
27679277c0
@ -818,6 +818,8 @@ uscript_getCode(const char* nameOrAbbrOrLocale,
|
||||
*(fillIn)++=code;
|
||||
numFilled++;
|
||||
}else{
|
||||
ures_close(resD);
|
||||
ures_close(resB);
|
||||
*err=U_BUFFER_OVERFLOW_ERROR;
|
||||
return len;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user