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:
a3768e0
)
Free allocated password strings on exit
author
Matt Caswell
<matt@openssl.org>
Tue, 26 Apr 2016 17:37:58 +0000
(18:37 +0100)
committer
Matt Caswell
<matt@openssl.org>
Wed, 1 Jun 2016 13:58:46 +0000
(14:58 +0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/srp.c
patch
|
blob
|
history
diff --git
a/apps/srp.c
b/apps/srp.c
index d81346d2d7e4dfc6a2cf68729cc794563b0eeee8..5ba9375984520cf83853a042ad57e8d8b2aa3907 100644
(file)
--- a/
apps/srp.c
+++ b/
apps/srp.c
@@
-597,6
+597,8
@@
int srp_main(int argc, char **argv)
if (verbose)
BIO_printf(bio_err, "SRP terminating with code %d.\n", ret);
+ OPENSSL_free(passin);
+ OPENSSL_free(passout);
if (ret)
ERR_print_errors(bio_err);
if (randfile)