aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)