Oops, I left out an important detail. The problem is that libirc/connection.c:close_server() calls free_irc_transport() and does not set transport to NULL.
Oops, I left out an important detail. The problem is that libirc/ connection. c:close_ server( ) calls free_irc_ transport( ) and does not set transport to NULL.