Fix memory leak in handle_dead_peers

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
This commit is contained in:
Lee Smet committed 2025-04-28 15:34:26 +02:00
1 parent 027c43f059
commit ea4e77c638
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -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
+1
View File
@@ -545,6 +545,7 @@ where
break;
}
self.handle_dead_peer(&tx_buf[..received]);
tx_buf.clear();
}
warn!("Processing of dead peers halted");
}