aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnubisss <none@none>2009-12-30 17:35:49 +0100
committerAnubisss <none@none>2009-12-30 17:35:49 +0100
commit29e0ac537775657f4d358ef866b0da285baf8bfe (patch)
treed00835aa2dbc5bd1bc112e8825a025245efab0d9
parent0d76a29101e6003574cb3c231d5269018c20aef4 (diff)
Fix a memory leak.
--HG-- branch : trunk
-rw-r--r--src/game/Channel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Channel.cpp b/src/game/Channel.cpp
index fe6af918a79..40c29c8c0b5 100644
--- a/src/game/Channel.cpp
+++ b/src/game/Channel.cpp
@@ -64,6 +64,8 @@ Channel::Channel(const std::string& name, uint32 channel_id, uint32 Team)
m_password = fields[4].GetString();
const char* db_BannedList = fields[5].GetString();
+ delete result;
+
m_IsSaved = true;
if (db_BannedList)