Browse Source

delete buffer

pull/1169/head
Jeff Becker 7 years ago
parent
commit
1e1e4da144
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
  1. 3
      libi2pd_client/SAM.cpp

3
libi2pd_client/SAM.cpp

@ -725,10 +725,13 @@ namespace client @@ -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…
Cancel
Save