Ensure the WPACKET gets cleaned up in the event of an error
authorMatt Caswell <matt@openssl.org>
Thu, 8 Sep 2016 09:00:56 +0000 (10:00 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 13 Sep 2016 08:41:21 +0000 (09:41 +0100)
commit796a627e0a816ffbd79f53fa7d349e4edb624573
tree91188bc096e862eadade4c0619d29c0c85f4a9fa
parent871bc59bc190d24ddd7b29aeb5fb2493b48e9cf5
Ensure the WPACKET gets cleaned up in the event of an error

Otherwise a mem leak can occur.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/statem/statem_clnt.c