ICU-770 Memory cleanup

X-SVN-Rev: 6471
This commit is contained in:
George Rhoten 2001-10-27 00:15:39 +00:00
parent d663f96a92
commit 27679277c0

View File

@ -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;
}