ssh_connector_free does not remove callbacks
Open, Needs TriagePublic

Description

ssh_connector_free does not remove callbacks as the first thing it calls is

ssh_connector_remove_event

which does:

connector->in_channel = NULL;
connector->out_channel = NULL;

so ssh_connector_free never calls ssh_remove_channel_callbacks on the in or out channels as they have been NULL'ed out.