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 9a5e37eac7fce9ae6ba9c78d109a9410954bc84a..58f8bb73a10fed6c9401de7a10cb42eaee3ae8f7 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);