diff options
Diffstat (limited to 'apps/gendh.c')
-rw-r--r-- | apps/gendh.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/gendh.c b/apps/gendh.c index 6102b79511..904bcf3a94 100644 --- a/apps/gendh.c +++ b/apps/gendh.c @@ -210,8 +210,7 @@ int MAIN(int argc, char **argv) end: if (ret != 0) ERR_print_errors(bio_err); - if (out != NULL) - BIO_free_all(out); + BIO_free_all(out); DH_free(dh); if (cb != NULL) BN_GENCB_free(cb); |