ICU-12924 Merging a fix for zonemeta double free issue (#13301/r40324) from trunk to maint-58.

X-SVN-Rev: 40676
This commit is contained in:
Yoshito Umaoka 2017-11-29 22:38:23 +00:00
parent dd5d75d17e
commit 7338625b67

View file

@ -683,7 +683,6 @@ ZoneMeta::createMetazoneMappings(const UnicodeString &tzid) {
mzMappings = new UVector(deleteOlsonToMetaMappingEntry, NULL, status);
if (U_FAILURE(status)) {
delete mzMappings;
deleteOlsonToMetaMappingEntry(entry);
uprv_free(entry);
break;
}