On 22/05/17 13:11, Tilo Eckert wrote: > > Maybe you could add a hint to the documentation of ssh_disconnect() that > it frees all channels, internal buffers, etc and that all such pointers > are invalid after calling this function. Andreas is always happy about > patches. ;) > > Regards > Tilo > That's something I'd really like to change in the next versions, but I can't find a backward compatible way of doing it. channels should be freed on ssh_channel_free. But then what's happening code out there that's not freeing channels ?
Aris
