summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-07-04 20:55:36 +0000
committerBodo Möller <bodo@openssl.org>2001-07-04 20:55:36 +0000
commitb8e2f83ae69e6451fb374c02ca20e3f60657c0f7 (patch)
tree774f1b4e686e1e9c662dcc7dcd7e96bd33061037 /ssl
parent93dbd83570518be59787162150947a1e2941db67 (diff)
Call ENGINE_cleanup() to avoid memory leak.
Diffstat (limited to 'ssl')
-rw-r--r--ssl/ssltest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/ssltest.c b/ssl/ssltest.c
index a19f70380c..0960c1acbc 100644
--- a/ssl/ssltest.c
+++ b/ssl/ssltest.c
@@ -124,6 +124,7 @@
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <openssl/ssl.h>
+#include <openssl/engine.h>
#include <openssl/err.h>
#include <openssl/rand.h>
#ifdef OPENSSL_SYS_WINDOWS
@@ -704,6 +705,7 @@ end:
#ifndef OPENSSL_NO_RSA
free_tmp_rsa();
#endif
+ ENGINE_cleanup();
ERR_free_strings();
ERR_remove_state(0);
EVP_cleanup();