diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-09-28 14:31:53 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-09-28 14:31:53 +0100 |
commit | 92ea6fe597238779e23fd9e1fee82d30641d61a8 (patch) | |
tree | ef108c57d1c5583c0a2588c77d71c4b76e4d5c81 /apps/s_client.c | |
parent | 920f7cf8972d8185b0b8eb6640a1bbff59b69ca3 (diff) |
SRP memory leak fix
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/s_client.c')
-rw-r--r-- | apps/s_client.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |