mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
[7756] Fixed memory leak in PoolHandler::Initialize(). Author: AlexDereka
--HG-- branch : trunk
This commit is contained in:
@@ -623,6 +623,7 @@ void PoolHandler::Initialize()
|
||||
SpawnPool(pool_entry);
|
||||
count++;
|
||||
} while (result->NextRow());
|
||||
delete result;
|
||||
}
|
||||
|
||||
sLog.outBasic("Pool handling system initialized, %u pools spawned.", count);
|
||||
|
||||
Reference in New Issue
Block a user