From: Dr. Stephen Henson Date: Mon, 28 Sep 2015 13:31:53 +0000 (+0100) Subject: SRP memory leak fix X-Git-Tag: OpenSSL_1_0_2e~70 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=92ea6fe597238779e23fd9e1fee82d30641d61a8;p=oweals%2Fopenssl.git SRP memory leak fix Reviewed-by: Richard Levitte --- diff --git a/apps/s_client.c b/apps/s_client.c index 2c75e11a25..f80711fd5e 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -2073,6 +2073,9 @@ int MAIN(int argc, char **argv) sk_X509_pop_free(chain, X509_free); if (pass) OPENSSL_free(pass); +#ifndef OPENSSL_NO_SRP + OPENSSL_free(srp_arg.srppassin); +#endif if (vpm) X509_VERIFY_PARAM_free(vpm); ssl_excert_free(exc);