Fix memory leaks in the Certificate extensions code
authorMatt Caswell <matt@openssl.org>
Wed, 25 Jan 2017 14:45:12 +0000 (14:45 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 25 Jan 2017 14:54:54 +0000 (14:54 +0000)
commit5ee289eaf6fa747e6b63b989c7a79ff1c9c95db3
treeafcd080923305c79ef0389b6cd78ed1f2fb78aef
parent0fe2a0af8976af505b35e4be100deb8d64451015
Fix memory leaks in the Certificate extensions code

After collecting extensions we must free them again.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2284)
ssl/statem/statem_clnt.c
ssl/statem/statem_srvr.c