mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
fixed incorrect memory access
This commit is contained in:
@@ -115,8 +115,9 @@ namespace tunnel
|
||||
|
||||
while (hop)
|
||||
{
|
||||
delete hop;
|
||||
auto tmp = hop;
|
||||
hop = hop->next;
|
||||
delete tmp;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user