diff options
Diffstat (limited to 'apps/dhparam.c')
-rw-r--r-- | apps/dhparam.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/dhparam.c b/apps/dhparam.c index 12a2be6455..fc5962a7a1 100644 --- a/apps/dhparam.c +++ b/apps/dhparam.c @@ -515,10 +515,8 @@ int MAIN(int argc, char **argv) } ret = 0; end: - if (in != NULL) - BIO_free(in); - if (out != NULL) - BIO_free_all(out); + BIO_free(in); + BIO_free_all(out); DH_free(dh); apps_shutdown(); OPENSSL_EXIT(ret); |