SRP memory leak fix
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 92ea6fe597
)
This commit is contained in:
parent
dfa08ea750
commit
7794c355ea
1 changed files with 3 additions and 0 deletions
|
@ -1884,6 +1884,9 @@ int MAIN(int argc, char **argv)
|
|||
EVP_PKEY_free(key);
|
||||
if (pass)
|
||||
OPENSSL_free(pass);
|
||||
#ifndef OPENSSL_NO_SRP
|
||||
OPENSSL_free(srp_arg.srppassin);
|
||||
#endif
|
||||
if (vpm)
|
||||
X509_VERIFY_PARAM_free(vpm);
|
||||
if (cbuf != NULL) {
|
||||
|
|
Loading…
Reference in a new issue