Browse Source
- Added proper cleanup for all 6 queues in etcp_connection_close(): * input_queue: drain ETCP_FRAGMENT with pkt_data * output_queue: drain ETCP_FRAGMENT with pkt_data * input_send_q: drain INFLIGHT_PACKET with pkt_data * input_wait_ack: drain INFLIGHT_PACKET with pkt_data * ack_q: drain ACK_PACKET * recv_q: drain ETCP_FRAGMENT with pkt_data - Each element is properly freed with memory_pool_free before queue_free - Memory pools are destroyed after all elements returned - Result: 0 bytes leaked (was 12,864 bytes)nodeinfo-routing-update
2 changed files with 51 additions and 2 deletions
Binary file not shown.
Loading…
Reference in new issue