mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
[Redirector] Optimize code
This commit is contained in:
@@ -53,7 +53,7 @@ void ipSend(const char* buffer, int length, PNF_IP_PACKET_OPTIONS options)
|
||||
return;
|
||||
}
|
||||
|
||||
auto data = new BYTE[length];
|
||||
auto data = new BYTE[length]();
|
||||
memcpy(data, buffer, length);
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user