diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 00:46:44 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 00:46:44 +0000 |
commit | 68e47f5ec2154aa97ff298d4516ca0caf746e51a (patch) | |
tree | 1c794501bf1cf8212c90075e46875f3e3dd53265 /include/bancache.h | |
parent | ae6acab1ba3ddc144c599d5434bbcf6f1efa37ad (diff) |
Valgrind cleanup: finish destructor creation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11615 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/bancache.h')
-rw-r--r-- | include/bancache.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/bancache.h b/include/bancache.h index 5bfa2fa3f..1d56decc1 100644 --- a/include/bancache.h +++ b/include/bancache.h @@ -100,6 +100,10 @@ class CoreExport BanCacheManager : public classbase this->ServerInstance = Instance; this->BanHash = new BanCacheHash(); } + ~BanCacheManager() + { + delete BanHash; + } void RehashCache(); }; |