x509: Fix leak when parsing CDPs if an invalid one follows valid ones
This commit is contained in:
@@ -923,8 +923,8 @@ bool x509_parse_crlDistributionPoints(chunk_t blob, int level0,
|
|||||||
|
|
||||||
end:
|
end:
|
||||||
parser->destroy(parser);
|
parser->destroy(parser);
|
||||||
uris->destroy(uris);
|
uris->destroy_offset(uris, offsetof(identification_t, destroy));
|
||||||
issuers->destroy(issuers);
|
issuers->destroy_offset(issuers, offsetof(identification_t, destroy));
|
||||||
|
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user