summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/extra/m_ssl_openssl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp
index a69dc0e4f..1f5023b75 100644
--- a/src/modules/extra/m_ssl_openssl.cpp
+++ b/src/modules/extra/m_ssl_openssl.cpp
@@ -737,6 +737,8 @@ class ModuleSSLOpenSSL : public Module
{
certinfo->data.insert(std::make_pair("error","Not activated, or expired certificate"));
}
+
+ X509_free(cert);
}
};