mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
Fixed memory leak: delete -> delete[]
This commit is contained in:
parent
3983838694
commit
2c480bee9a
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ namespace data
|
|||
|
||||
RouterInfo::~RouterInfo ()
|
||||
{
|
||||
delete m_Buffer;
|
||||
delete[] m_Buffer;
|
||||
}
|
||||
|
||||
void RouterInfo::Update (const uint8_t * buf, int len)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue