(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:
@@ -1474,7 +1474,7 @@ bool NetworkServer_ReadPackets(NetworkTCPSocketHandler *cs)
|
||||
} else {
|
||||
DEBUG(net, 0, "[server] received invalid packet type %d", type);
|
||||
}
|
||||
free(p);
|
||||
delete p;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user