Don't leak memory from notice_section function on error path
authorMatt Caswell <matt@openssl.org>
Wed, 27 Apr 2016 15:41:43 +0000 (16:41 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 1 Jun 2016 17:00:53 +0000 (18:00 +0100)
commit6eb311eea6fca45495b3a48c396f5aa8e8f7e714
tree548c60984e7c1a59ce9fc4c0bef5985b03131fb8
parent97323d57cd6dbbd0c06383dea3cc1b90d11f2557
Don't leak memory from notice_section function on error path

The notice_section() function allocates a STACK_OF(CONF_VALUE) but
then fails to free it on an error path.

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