diff options
author | Pauli <paul.dale@oracle.com> | 2020-06-15 08:11:13 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-06-17 15:59:58 +1000 |
commit | ae93e8c21ec089aa23d30df1787308ae9c2fd18d (patch) | |
tree | 9f387c4271cf1b70078e7e7c6fee99f7b57764ca /apps/dsaparam.c | |
parent | 4f2271d58a36b2aee125062ffb9626c6208fa394 (diff) |
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/12149)
Diffstat (limited to 'apps/dsaparam.c')
-rw-r--r-- | apps/dsaparam.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dsaparam.c b/apps/dsaparam.c index dfcaf38ca9..5fd906a069 100644 --- a/apps/dsaparam.c +++ b/apps/dsaparam.c @@ -212,6 +212,9 @@ int dsaparam_main(int argc, char **argv) print_bignum_var(bio_out, p, "dsap", bits_p, data); print_bignum_var(bio_out, q, "dsaq", bits_p, data); print_bignum_var(bio_out, g, "dsag", bits_p, data); + BN_free(p); + BN_free(q); + BN_free(g); BIO_printf(bio_out, " DSA *dsa = DSA_new();\n" " BIGNUM *p, *q, *g;\n" "\n"); |