ICU-13749 Prevent double-free of mzMappings in ZoneMeta::createMetazoneMappings.

X-SVN-Rev: 41310
This commit is contained in:
Jeff Genovy 2018-05-02 20:40:07 +00:00
parent 275580806f
commit 600afe90c4

View file

@ -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;
}