diff options
author | Bodo Möller <bodo@openssl.org> | 1999-06-25 13:41:35 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-06-25 13:41:35 +0000 |
commit | 227cd06ffea642eb155449888a46159481afe0d0 (patch) | |
tree | aee5acc0320a02599e08fec63a124c82624485d2 /crypto/dsa/dsa_gen.c | |
parent | 9b67b4b3caf071f490b95128f5dd44d9ce52032d (diff) |
Avoid some memory holes, one of which was pointed out by
"Chad C. Mulligan" <mulligan@antipope.org>.
Diffstat (limited to 'crypto/dsa/dsa_gen.c')
-rw-r--r-- | crypto/dsa/dsa_gen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/dsa/dsa_gen.c b/crypto/dsa/dsa_gen.c index 2b762d66f5..b5e5ec06e5 100644 --- a/crypto/dsa/dsa_gen.c +++ b/crypto/dsa/dsa_gen.c @@ -326,6 +326,7 @@ err: if (ok == -1) DSAerr(DSA_F_DSA_IS_PRIME,ERR_R_BN_LIB); BN_CTX_free(ctx); BN_CTX_free(ctx2); + BN_MONT_CTX_free(mont); return(ok); } |