summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:47:29 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:47:29 +0000
commit771016b99723ae1b4924b85297817a7957563981 (patch)
tree0064bed1e091e58162a97caa0ea356a7155a3c31 /src/modules
parent8085aa879bd989b526791797910295944a364084 (diff)
More deallocation-at-exit cleanup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11621 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_dccallow.cpp2
-rw-r--r--src/modules/m_xline_db.cpp1
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;
}