Fix memory leak on error.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 14 Sep 2016 22:54:12 +0000 (23:54 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Thu, 15 Sep 2016 11:49:00 +0000 (12:49 +0100)
commitea060e026dd29ea0eaf66ad8686f966c8c81eb7f
treeb6c61a436ea229866f87c42a3fb22db4baacd732
parentb05f231cd97d80a2a46b6f4d0b145e84c729c39b
Fix memory leak on error.

Thanks to Shi Lei (Gear Team, Qihoo 360 Inc.) for reporting this bug.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/ssl_asn1.c