(svn r8521) -Codechange: initial step in converting Packet to a class; make and use constructors and functions related to the reading/saving the packet size.
This commit is contained in:
@@ -864,7 +864,7 @@ NetworkRecvStatus NetworkClient_ReadPackets(NetworkTCPSocketHandler *cs)
|
||||
DEBUG(net, 0, "[client] received invalid packet type %d", type);
|
||||
}
|
||||
|
||||
free(p);
|
||||
delete p;
|
||||
}
|
||||
|
||||
return res;
|
||||
|
Reference in New Issue
Block a user