From: Matt Caswell Date: Tue, 26 Apr 2016 17:37:58 +0000 (+0100) Subject: Free allocated password strings on exit X-Git-Tag: OpenSSL_1_1_0-pre6~619 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7b0ee1353d0e3ece7986e12c6684f1aac7483cea;p=oweals%2Fopenssl.git Free allocated password strings on exit Reviewed-by: Richard Levitte --- 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)