SRP memory leak fix
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
3a79618474
commit
d40a1f72b6
@ -2023,6 +2023,9 @@ int s_client_main(int argc, char **argv)
|
|||||||
EVP_PKEY_free(key);
|
EVP_PKEY_free(key);
|
||||||
sk_X509_pop_free(chain, X509_free);
|
sk_X509_pop_free(chain, X509_free);
|
||||||
OPENSSL_free(pass);
|
OPENSSL_free(pass);
|
||||||
|
#ifndef OPENSSL_NO_SRP
|
||||||
|
OPENSSL_free(srp_arg.srppassin);
|
||||||
|
#endif
|
||||||
X509_VERIFY_PARAM_free(vpm);
|
X509_VERIFY_PARAM_free(vpm);
|
||||||
ssl_excert_free(exc);
|
ssl_excert_free(exc);
|
||||||
sk_OPENSSL_STRING_free(ssl_args);
|
sk_OPENSSL_STRING_free(ssl_args);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user