Fix SIGINT double-free by not freeing tunnel structures during cleanup
- Prevent use-after-free in forwarding threads during shutdown - Close sockets and free buffers but keep tunnel structures allocated - Memory will be freed when process exits, avoiding thread access issues
Showing
Please
register
or
sign in
to comment