diff options
Diffstat (limited to 'src/shared/vmap/VMapFactory.cpp')
-rw-r--r-- | src/shared/vmap/VMapFactory.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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; + } } } |