summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/bancache.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/bancache.h b/include/bancache.h
index 952a1453a..f143d51eb 100644
--- a/include/bancache.h
+++ b/include/bancache.h
@@ -94,11 +94,7 @@ class CoreExport BanCacheManager
{
this->BanHash = new BanCacheHash();
}
- ~BanCacheManager()
- {
- delete BanHash;
- }
-
+ ~BanCacheManager();
void RehashCache();
};