Explorar o código

Update client.cpp

missing delete of packet
Image %!s(int64=4) %!d(string=hai) anos
pai
achega
02e1939940
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      EQ2/source/WorldServer/client.cpp

+ 1 - 0
EQ2/source/WorldServer/client.cpp

@@ -1800,6 +1800,7 @@ bool Client::HandlePacket(EQApplicationPacket* app) {
 				if (houses.size() > 24)
 				{
 					SimpleMessage(CHANNEL_COLOR_YELLOW, "You already own 25 houses and may not own another.");
+					safe_delete(packet);
 					break;
 				}