mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-08-22 05:50:40 +00:00
chore: fix memory leaks
This commit is contained in:
@@ -170,6 +170,7 @@ namespace transport
|
||||
header.h.flags[2] = 0; // flag
|
||||
memcpy (h, header.buf, 16);
|
||||
htobuf64 (h + 16, GetSourceConnID ()); // source id
|
||||
memset (h + 24, 0, 8); // header token
|
||||
// payload
|
||||
payload[0] = eSSU2BlkDateTime;
|
||||
htobe16buf (payload + 1, 4);
|
||||
|
||||
Reference in New Issue
Block a user