commit | b548a1f11c06ccdfa4f52a539912d22d77ee309e | [log] [tgz] |
---|---|---|
author | Rich Salz <rsalz@openssl.org> | Fri May 01 10:02:07 2015 -0400 |
committer | Rich Salz <rsalz@openssl.org> | Fri May 01 10:02:07 2015 -0400 |
tree | 37ff8792ddf09e4805aa3ba76b805923d3c52734 | |
parent | 33fbca83dcd05b77f807fab205c4523b8cfe85b5 [diff] [blame] |
free null cleanup finale Don't check for NULL before calling OPENSSL_free Reviewed-by: Richard Levitte <levitte@openssl.org>
diff --git a/apps/gendsa.c b/apps/gendsa.c index 21988a0..75bd802 100644 --- a/apps/gendsa.c +++ b/apps/gendsa.c
@@ -182,8 +182,7 @@ BIO_free(in); BIO_free_all(out); DSA_free(dsa); - if (passout) - OPENSSL_free(passout); + OPENSSL_free(passout); return (ret); } #else /* !OPENSSL_NO_DSA */