* Fix memory leak. Thanks to Anubisss for pointing out.
--HG-- branch : trunk
This commit is contained in:
@@ -9009,6 +9009,8 @@ void ObjectMgr::LoadCreatureClassLevelStats()
|
|||||||
}
|
}
|
||||||
while (result->NextRow());
|
while (result->NextRow());
|
||||||
|
|
||||||
|
delete result;
|
||||||
|
|
||||||
sLog.outString();
|
sLog.outString();
|
||||||
sLog.outString( ">> Loaded %u creature base stats.", counter);
|
sLog.outString( ">> Loaded %u creature base stats.", counter);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user