mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-4884 fix a small bug
X-SVN-Rev: 18699
This commit is contained in:
parent
fc79f6822d
commit
7c3a59f479
1 changed files with 1 additions and 1 deletions
|
@ -1344,7 +1344,7 @@ DateFormatSymbols::initZoneStrings(UErrorCode &status){
|
|||
}else{
|
||||
//last resort strings
|
||||
UnicodeString* array = newUnicodeStringArray(UTZ_MAX_DISPLAY_STRINGS_LENGTH);
|
||||
if(fZoneStringsHash==NULL){
|
||||
if(array==NULL){
|
||||
delete fZoneStringsHash;
|
||||
status = U_MEMORY_ALLOCATION_ERROR;
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue