mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Add cleanup
--HG-- branch : fastopen
This commit is contained in:
@@ -281,6 +281,8 @@ void session_cleanup() {
|
||||
other session state is freed. */
|
||||
remove_all_listeners();
|
||||
|
||||
remove_connect_pending();
|
||||
|
||||
while (!isempty(&ses.writequeue)) {
|
||||
buf_free(dequeue(&ses.writequeue));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user