From a5dcd0e7b239dc806aceaf5e2cc3a29a3de67817 Mon Sep 17 00:00:00 2001 From: megamage Date: Mon, 4 May 2009 17:26:47 -0500 Subject: [7756] Fixed memory leak in PoolHandler::Initialize(). Author: AlexDereka --HG-- branch : trunk --- src/game/PoolHandler.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game/PoolHandler.cpp') diff --git a/src/game/PoolHandler.cpp b/src/game/PoolHandler.cpp index 54b18fc6b28..753b6a249e6 100644 --- a/src/game/PoolHandler.cpp +++ b/src/game/PoolHandler.cpp @@ -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); -- cgit v1.2.3