diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_dccallow.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_xline_db.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 97f0d2f13..ab6789049 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -470,6 +470,8 @@ class ModuleDCCAllow : public Module virtual ~ModuleDCCAllow() { + delete Conf; + Conf = NULL; } virtual Version GetVersion() diff --git a/src/modules/m_xline_db.cpp b/src/modules/m_xline_db.cpp index 09a8c242d..d3a75a64c 100644 --- a/src/modules/m_xline_db.cpp +++ b/src/modules/m_xline_db.cpp @@ -232,6 +232,7 @@ class ModuleXLineDB : public Module } } + fclose(f); return true; } |