fix memory leak
authorBodo Möller <bodo@openssl.org>
Mon, 10 Sep 2001 18:13:16 +0000 (18:13 +0000)
committerBodo Möller <bodo@openssl.org>
Mon, 10 Sep 2001 18:13:16 +0000 (18:13 +0000)
apps/openssl.c

index 9a5e37e..58f8bb7 100644 (file)
@@ -353,10 +353,10 @@ end:
        ERR_remove_state(0);
 
        EVP_cleanup();
+        ENGINE_cleanup();
+       
        ERR_free_strings();
        
-        ENGINE_cleanup();
-
        apps_shutdown();
 
        CRYPTO_mem_leaks(bio_err);