mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 00:18:43 +01:00
* Use free() rather than delete operator to deallocate memory allocated by strdup
--HG-- branch : trunk
This commit is contained in:
@@ -766,7 +766,7 @@ void ChatHandler::SendGlobalGMSysMessage(const char *str)
|
||||
FillSystemMessageData(&data, line);
|
||||
sWorld.SendGlobalGMMessage(&data);
|
||||
}
|
||||
delete buf;
|
||||
free(buf);
|
||||
}
|
||||
|
||||
void ChatHandler::SendSysMessage(int32 entry)
|
||||
|
||||
Reference in New Issue
Block a user