diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-03 23:21:49 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-03 23:21:49 +0000 |
commit | 4a5b44027f9f887470e0b01dabb670d59604872b (patch) | |
tree | ca9c32914a43a00ea4365421788cf82ad9d5e7a1 /src/modules/extra | |
parent | db3665d03e35192510ddeef5c41762cf195d0609 (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
Diffstat (limited to 'src/modules/extra')
-rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 2 |
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); } }; |