mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-18 23:36:39 +01:00
delete buffer
This commit is contained in:
parent
623433099b
commit
1e1e4da144
1 changed files with 3 additions and 0 deletions
|
@ -725,10 +725,13 @@ namespace client
|
|||
WriteI2PDataImmediate(buff, len);
|
||||
}
|
||||
else // no more data
|
||||
{
|
||||
delete [] buff;
|
||||
Terminate ("no more data");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void SAMSocket::WriteI2PDataImmediate(uint8_t * buff, size_t sz)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue