Call apps_shutdown() to take down what apps_startup() set up.
authorRichard Levitte <levitte@openssl.org>
Mon, 25 Jun 2001 08:35:59 +0000 (08:35 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 25 Jun 2001 08:35:59 +0000 (08:35 +0000)
apps/req.c

index 2999d509ba979bd8b982d9e2c3fa30ea35c5cdd7..9269aa85ac714c38bf565e9208c2a9202b77c704 100644 (file)
@@ -1022,6 +1022,7 @@ end:
 #ifndef OPENSSL_NO_DSA
        if (dsa_params != NULL) DSA_free(dsa_params);
 #endif
 #ifndef OPENSSL_NO_DSA
        if (dsa_params != NULL) DSA_free(dsa_params);
 #endif
+       apps_shutdown();
        EXIT(ex);
        }
 
        EXIT(ex);
        }