Avoid a mem leak on error
authorMatt Caswell <matt@openssl.org>
Tue, 21 Mar 2017 09:53:02 +0000 (09:53 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 21 Mar 2017 09:53:02 +0000 (09:53 +0000)
commit3f640ebd035006d44d6f7d0767bb6ebd1a2efcd5
tree34fbf1d15713fd22015da849437c12e0d697fef7
parent2e5adeb2904dd68780fb154dbeb6e3efafb418bb
Avoid a mem leak on error

An internal error path could result in a memory leak. Also remove some redundant
code.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3003)
ssl/s3_srvr.c