* Use free() rather than delete operator to deallocate memory allocated by strdup

--HG--
branch : trunk
This commit is contained in:
Machiavelli
2009-05-27 09:29:32 +02:00
parent 33424eb608
commit fac0b28ece

View File

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