Core/Misc: fixed issues reported by pvs studio

closes #281
This commit is contained in:
Ovahlord committed 2021-08-18 21:11:20 +02:00
1 parent f394bd9510
commit be614ded97
8 files changed
+21 -14

No files matched your search

+1
View File
@@ -437,6 +437,7 @@ WorldSocket::ReadDataHandlerResult WorldSocket::ReadDataHandler()
if (!_worldSession)
{
TC_LOG_ERROR("network.opcode", "ProcessIncoming: Client not authed opcode = %u", uint32(opcode));
delete packetToQueue;
return ReadDataHandlerResult::Error;
}