Avoid some memory holes, one of which was pointed out by

"Chad C. Mulligan" <mulligan@antipope.org>.
This commit is contained in:
Bodo Möller
1999-06-25 13:41:35 +00:00
parent 9b67b4b3ca
commit 227cd06ffe
4 changed files with 8 additions and 2 deletions

View File

@@ -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);
}