Don't leak memory on error path in dane_ctx_enable()
authorMatt Caswell <matt@openssl.org>
Wed, 27 Apr 2016 13:22:20 +0000 (14:22 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 28 Apr 2016 12:13:09 +0000 (13:13 +0100)
commitb3bd3d5af8ed31f438db4367ce3a4bd43067e764
treec6c59005d40059a215bfefe956da8ff6259b26c3
parent34b9acbd3f81b46967f692c0af49020c8c405746
Don't leak memory on error path in dane_ctx_enable()

The function dane_ctx_enable() allocated some memory that it did not
free in an error path.

Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/ssl_lib.c