Don't leak memory on set_reasons() error path
authorMatt Caswell <matt@openssl.org>
Thu, 28 Apr 2016 13:00:10 +0000 (14:00 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 1 Jun 2016 17:00:53 +0000 (18:00 +0100)
commit723412d4d8c8466b1d90b8f348c2c8f24c692f59
treea0f57fadcbdf50ee680f31fb106f49eee237d4c3
parent137e5555bd3d1dc4486619bc524502c55682a6f4
Don't leak memory on set_reasons() error path

The set_reasons() function in v3_crld.c leaks a STACK_OF(CONF_VALUE)
object on an error path.

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