Don't leak memory in v2i_POLICY_MAPPINGS() on error path
authorMatt Caswell <matt@openssl.org>
Wed, 27 Apr 2016 15:50:14 +0000 (16:50 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 1 Jun 2016 17:00:53 +0000 (18:00 +0100)
commit379a8ed1ffdbb0c8dbf89b2777b1b710f968db6e
tree5ba3eaaf0b61ef0630d689bc65c74ca8b042b5ac
parent6eb311eea6fca45495b3a48c396f5aa8e8f7e714
Don't leak memory in v2i_POLICY_MAPPINGS() on error path

The v2i_POLICY_MAPPINGS() function leaked ASN1_OBJECT pointers on error
paths.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/x509v3/v3_pmaps.c