summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2001-11-22 09:20:08 +0000
committerGeoff Thorpe <geoff@openssl.org>2001-11-22 09:20:08 +0000
commit308f028e281dd6c7e5b16eea42e07b8e3d58f7ae (patch)
tree11a05d6c6d437a6e38f5ad37db4c53194bd17f47 /apps
parente4a6cf421a57cd59ad6944151fea07af51e5e0ed (diff)
In this particular error condition, the structural reference wasn't being
released.
Diffstat (limited to 'apps')
-rw-r--r--apps/apps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/apps.c b/apps/apps.c
index 666a7a7000..dc89fc0a81 100644
--- a/apps/apps.c
+++ b/apps/apps.c
@@ -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;
}