diff options
Diffstat (limited to 'openssl/apps/openssl.c')
-rw-r--r-- | openssl/apps/openssl.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/openssl/apps/openssl.c b/openssl/apps/openssl.c index 71e1e48ec..537245945 100644 --- a/openssl/apps/openssl.c +++ b/openssl/apps/openssl.c @@ -435,9 +435,7 @@ end: if (prog != NULL) lh_FUNCTION_free(prog); if (arg.data != NULL) OPENSSL_free(arg.data); - apps_shutdown(); - CRYPTO_mem_leaks(bio_err); if (bio_err != NULL) { BIO_free(bio_err); @@ -450,6 +448,9 @@ end: OPENSSL_free(Argv); } #endif + apps_shutdown(); + CRYPTO_mem_leaks(bio_err); + OPENSSL_EXIT(ret); } |