mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-7216 Fix possible memory leak in error case.
X-SVN-Rev: 28168
This commit is contained in:
parent
aef7b19644
commit
9b68c719ad
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ unum_open( UNumberFormatStyle style,
|
|||
return 0;
|
||||
}
|
||||
if (U_FAILURE(*status)) {
|
||||
delete syms;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue