mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-30 22:19:19 +00:00
fix address sanitizer issues
This commit is contained in:
@@ -52,7 +52,7 @@ public:
|
||||
{
|
||||
if ( pData )
|
||||
{
|
||||
delete pData;
|
||||
delete[] pData;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ public:
|
||||
pSendTable = src.pSendTable;
|
||||
pClientClass = src.pClientClass;
|
||||
filter.AddPlayersFromFilter( &src.filter );
|
||||
|
||||
|
||||
if ( src.pData )
|
||||
{
|
||||
int size = Bits2Bytes( src.bits );
|
||||
|
||||
Reference in New Issue
Block a user