Don't leak memory on ASN1_GENERALIZEDTIME_adj() error path
authorMatt Caswell <matt@openssl.org>
Wed, 27 Apr 2016 15:59:49 +0000 (16:59 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 1 Jun 2016 17:00:53 +0000 (18:00 +0100)
commitfe71bb3ad97ed01ccf92812891cc2bc3ef3dce76
tree5f4c8e1baed24e9cc407665650284dd0e57be948
parent379a8ed1ffdbb0c8dbf89b2777b1b710f968db6e
Don't leak memory on ASN1_GENERALIZEDTIME_adj() error path

The ASN1_GENERALIZEDTIME_adj() function leaks an ASN1_GENERALIZEDTIME
object on an error path.

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