In this particular error condition, the structural reference wasn't being
authorGeoff Thorpe <geoff@openssl.org>
Thu, 22 Nov 2001 09:20:08 +0000 (09:20 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Thu, 22 Nov 2001 09:20:08 +0000 (09:20 +0000)
released.

apps/apps.c

index 666a7a7..dc89fc0 100644 (file)
@@ -1242,6 +1242,7 @@ ENGINE *setup_engine(BIO *err, const char *engine, int debug)
                        {
                        BIO_printf(err,"can't use that engine\n");
                        ERR_print_errors(err);
+                       ENGINE_free(e);
                        return NULL;
                        }