From 4a5b44027f9f887470e0b01dabb670d59604872b Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 3 Sep 2006 23:21:49 +0000 Subject: Call X509_free() after we're done with the cert git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5139 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_openssl.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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); } }; -- cgit v1.2.3