summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-03 23:21:49 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-03 23:21:49 +0000
commit4a5b44027f9f887470e0b01dabb670d59604872b (patch)
treeca9c32914a43a00ea4365421788cf82ad9d5e7a1
parentdb3665d03e35192510ddeef5c41762cf195d0609 (diff)
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
-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);
}
};