summaryrefslogtreecommitdiff
path: root/src/modules/m_banexception.cpp
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-09 12:09:52 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-09 12:09:52 +0000
commitc47776703ef551ed8eeee336d21da73aae020103 (patch)
treefe6ebf3260b1555212589ff71da92e806ee1f7a7 /src/modules/m_banexception.cpp
parent1c7deaf6fefa8755307c61ef4071a96f31f86916 (diff)
DELETE()'s in destructors *fwap*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4203 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_banexception.cpp')
-rw-r--r--src/modules/m_banexception.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp
index 113af0b6b..862a6e21c 100644
--- a/src/modules/m_banexception.cpp
+++ b/src/modules/m_banexception.cpp
@@ -92,6 +92,11 @@ public:
{
return Version(1, 0, 0, 3, VF_STATIC | VF_VENDOR);
}
+
+ virtual ~ModuleBanException()
+ {
+ DELETE(be);
+ }
};
class ModuleBanExceptionFactory : public ModuleFactory