Leak fixes.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 5 Aug 2016 15:21:26 +0000 (16:21 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 5 Aug 2016 17:06:56 +0000 (18:06 +0100)
commitd23de0bbf9e2c7a64065e2bf1907c6cceda78eb9
tree4624a58351357b82036fd48904dd4c7064cab20c
parent3c39313f7bba2663961f6085bcd010e61004fe6e
Leak fixes.

Fix error path leaks in a2i_ASN1_STRING(), a2i_ASN1_INTEGER() and
a2i_ASN1_ENUMERATED().

Thanks to Shi Lei for reporting these issues.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit e1be1dce7722ee40ced16b1b91d5e1b9fce13d08)
crypto/asn1/f_enum.c
crypto/asn1/f_int.c
crypto/asn1/f_string.c