aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2009-12-20 23:55:22 +0100
committerXTZGZoReX <none@none>2009-12-20 23:55:22 +0100
commit67a4afc54c8660b93ea47c45e141c0c6939df741 (patch)
tree62c7f90521f9ad4e675b24f9995812d196ae5b68 /src
parent5a0d0157ce14cef51e2730bc35bed6d1bcfe3760 (diff)
* Fix memory leak. Thanks to Anubisss for pointing out.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/ObjectMgr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp
index 97d607f83b0..fad7b3248f0 100644
--- a/src/game/ObjectMgr.cpp
+++ b/src/game/ObjectMgr.cpp
@@ -9009,6 +9009,8 @@ void ObjectMgr::LoadCreatureClassLevelStats()
}
while (result->NextRow());
+ delete result;
+
sLog.outString();
sLog.outString( ">> Loaded %u creature base stats.", counter);
}