Core: Free memory allocated for opcode handlers at shutdown.
This commit is contained in:
1 parent
b075d8cca7
commit
3de6d44a00
5 files changed
+67
-36
No files matched your search
@@ -731,8 +731,8 @@ int WorldSocket::ProcessIncoming(WorldPacket* new_pct)
|
||||
return -1;
|
||||
}
|
||||
|
||||
OpcodeHandler* handler = opcodeTable[opcode];
|
||||
if (!handler || handler->status == STATUS_UNHANDLED)
|
||||
OpcodeHandler const* handler = opcodeTable[opcode];
|
||||
if (!handler || handler->Status == STATUS_UNHANDLED)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_OPCODES, "No defined handler for opcode %s sent by %s", GetOpcodeNameForLogging(new_pct->GetOpcode()).c_str(), m_Session->GetPlayerName(false).c_str());
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user