[Redirector] Optimize code

This commit is contained in:
Connection Refused
2021-10-04 19:31:24 +08:00
parent 74c0344a50
commit f221db7040
3 changed files with 3 additions and 3 deletions

View File

@@ -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);
{