summaryrefslogtreecommitdiff
path: root/include/bancache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bancache.h')
-rw-r--r--include/bancache.h4
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();
};