diff options
author | Matt Caswell <matt@openssl.org> | 2016-04-26 18:37:58 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-06-01 14:58:46 +0100 |
commit | 7b0ee1353d0e3ece7986e12c6684f1aac7483cea (patch) | |
tree | b0ff9a25c2c37a2c52bf468ea117cdad709bc5fd /apps/srp.c | |
parent | a3768e0c9b8b80fadcab06afed77a9d27ed1b6dd (diff) |
Free allocated password strings on exit
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/srp.c')
-rw-r--r-- | apps/srp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/srp.c b/apps/srp.c index d81346d2d7..5ba9375984 100644 --- 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) |