mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-3259 A better fix for a memory leak.
X-SVN-Rev: 13747
This commit is contained in:
parent
b56d67be43
commit
09d92f9758
1 changed files with 0 additions and 3 deletions
|
@ -90,9 +90,6 @@ ulocdata_getPaperSize(const char* localeID, int32_t *height, int32_t *width, UEr
|
|||
if(U_SUCCESS(*status)){
|
||||
if(len < 2){
|
||||
*status = U_INTERNAL_PROGRAM_ERROR;
|
||||
ures_close(bundle);
|
||||
ures_close(paperSizeBundle);
|
||||
return;
|
||||
}else{
|
||||
*height = paperSize[0];
|
||||
*width = paperSize[1];
|
||||
|
|
Loading…
Add table
Reference in a new issue