projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
920f7cf
)
SRP memory leak fix
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 28 Sep 2015 13:31:53 +0000
(14:31 +0100)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 28 Sep 2015 13:31:53 +0000
(14:31 +0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/s_client.c
patch
|
blob
|
history
diff --git
a/apps/s_client.c
b/apps/s_client.c
index 2c75e11a25a5ef57224eb6c06dabcc58facc5133..f80711fd5e58954b4feda78fd7882bd2e5ed61a3 100644
(file)
--- 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);