mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-13749 Prevent double-free of mzMappings in ZoneMeta::createMetazoneMappings.
X-SVN-Rev: 41310
This commit is contained in:
parent
275580806f
commit
600afe90c4
1 changed files with 1 additions and 0 deletions
|
@ -690,6 +690,7 @@ ZoneMeta::createMetazoneMappings(const UnicodeString &tzid) {
|
|||
mzMappings = new UVector(deleteOlsonToMetaMappingEntry, NULL, status);
|
||||
if (U_FAILURE(status)) {
|
||||
delete mzMappings;
|
||||
mzMappings = NULL;
|
||||
uprv_free(entry);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue