Ensure that memory allocated for the ticket is freed
authorMatt Caswell <matt@openssl.org>
Tue, 15 Mar 2016 11:38:56 +0000 (11:38 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 18 Mar 2016 11:56:34 +0000 (11:56 +0000)
commit3b93479fcfd335622bb9e5e8cc08acd328750f44
treea886bd6dd2d86f4e98f56f43b00f8f301ced2deb
parente78dc7e279ed98e1ab9845a70d14dafdfdc88f58
Ensure that memory allocated for the ticket is freed

If a call to EVP_DecryptUpdate fails then a memory leak could occur.
Ensure that the memory is freed appropriately.

Issue reported by Guido Vranken.

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