aboutsummaryrefslogtreecommitdiff
path: root/src/game/PoolHandler.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-05-04 17:26:47 -0500
committermegamage <none@none>2009-05-04 17:26:47 -0500
commita5dcd0e7b239dc806aceaf5e2cc3a29a3de67817 (patch)
tree9d840b3ae079029b73902cd33ac05d8ceea30883 /src/game/PoolHandler.cpp
parentc401cb49a48a4f83d6f68d74ca9bac1dd8f8873a (diff)
[7756] Fixed memory leak in PoolHandler::Initialize(). Author: AlexDereka
--HG-- branch : trunk
Diffstat (limited to 'src/game/PoolHandler.cpp')
-rw-r--r--src/game/PoolHandler.cpp1
1 files changed, 1 insertions, 0 deletions
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);