mirror of
https://github.com/threefoldtech/mycelium.git
synced 2026-10-22 21:51:19 +00:00
Fix memory leak in handle_dead_peers
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
This commit is contained in:
2 files changed
+3
-1
No files matched your search
+2
-1
@@ -9,7 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed an unsoundness issue in the routing table clone implementation
|
||||
- Fixed an unsoundness issue in the routing table clone implementation.
|
||||
- Clear dead peer buffer once peers have been removed from the routing table.
|
||||
|
||||
## [0.6.0] - 2025-04-25
|
||||
|
||||
|
||||
@@ -545,6 +545,7 @@ where
|
||||
break;
|
||||
}
|
||||
self.handle_dead_peer(&tx_buf[..received]);
|
||||
tx_buf.clear();
|
||||
}
|
||||
warn!("Processing of dead peers halted");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user