mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-03 05:49:41 +03:00
fix address sanitizer issues
This commit is contained in:
@@ -1389,7 +1389,7 @@ bool NET_GetLoopPacket ( netpacket_t * packet )
|
||||
|
||||
if ( loop->data != loop->defbuffer )
|
||||
{
|
||||
delete loop->data;
|
||||
delete[] loop->data;
|
||||
loop->data = loop->defbuffer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user