From ce643187f06cd0b3829ab90deff335f5c9ec5a84 Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 8 Dec 2008 16:34:03 -0600 Subject: *Update to Mangos 6888. Source: Mangos. *Major change: Make corpse erase async, Avoid DB access on deleting guild member. *Skip 6885 because of performance concern. --HG-- branch : trunk --- src/shared/vmap/VMapFactory.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/shared/vmap/VMapFactory.cpp') diff --git a/src/shared/vmap/VMapFactory.cpp b/src/shared/vmap/VMapFactory.cpp index b0271a80e2b..a12c9e3e3a9 100644 --- a/src/shared/vmap/VMapFactory.cpp +++ b/src/shared/vmap/VMapFactory.cpp @@ -99,8 +99,14 @@ namespace VMAP void VMapFactory::clear() { if(iIgnoreSpellIds) + { delete iIgnoreSpellIds; + iIgnoreSpellIds = NULL; + } if(gVMapManager) + { delete gVMapManager; + gVMapManager = NULL; + } } } -- cgit v1.2.3