Fix a memory leak.

--HG--
branch : trunk
This commit is contained in:
Anubisss
2009-12-30 17:35:49 +01:00
parent 0d76a29101
commit 29e0ac5377

View File

@@ -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)