From 4a97846de33085f70131ec783f27f5cef44f8d5c Mon Sep 17 00:00:00 2001 From: om Date: Sun, 29 Jan 2006 03:18:06 +0000 Subject: Missing delete for config reader git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2964 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ssl_gnutls.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/extra') 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(); -- cgit v1.2.3