summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-29 03:18:06 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-29 03:18:06 +0000
commit4a97846de33085f70131ec783f27f5cef44f8d5c (patch)
tree6a8f9aea70b8f18411283a4645c73c5e31fbddab
parent3ae024016df497c707ed5756b3926d9c1a264b0d (diff)
Missing delete for config reader
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2964 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/extra/m_ssl_gnutls.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp
index 977c27dda..55bd6f9b2 100644
--- a/src/modules/extra/m_ssl_gnutls.cpp
+++ b/src/modules/extra/m_ssl_gnutls.cpp
@@ -172,6 +172,8 @@ class ModuleSSLGnuTLS : public Module
// This may be on a large (once a day or week) timer eventually.
GenerateDHParams();
+
+ delete Conf;
}
void GenerateDHParams()
@@ -187,7 +189,6 @@ class ModuleSSLGnuTLS : public Module
virtual ~ModuleSSLGnuTLS()
{
- delete Conf;
gnutls_dh_params_deinit(dh_params);
gnutls_certificate_free_credentials(x509_cred);
gnutls_global_deinit();