diff options
| author | Jon Simons <jon@jonsimons.org> | 2013-12-09 12:38:55 -0800 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2013-12-11 21:02:05 +0100 |
| commit | 0557f57c63539b98a60211c8a4b5b81a2f61c95e (patch) | |
| tree | 69967f3d98d24e54451de5b6a906be671d44dd39 /include | |
| parent | 4f4e917187742e033db8d1888734e7492ddd208b (diff) | |
| download | libssh-0557f57c63539b98a60211c8a4b5b81a2f61c95e.tar.gz libssh-0557f57c63539b98a60211c8a4b5b81a2f61c95e.tar.xz libssh-0557f57c63539b98a60211c8a4b5b81a2f61c95e.zip | |
client: use ssh_channel_do_free in ssh_disconnect
Ensure to use 'ssh_channel_do_free' in 'ssh_disconnect', when removing and
free'ing up a session's channels. This matches the behavior in 'ssh_free',
and is necessary to fully free any channel which may not have been closed
completely (see usage of flags SSH_CHANNEL_FLAG_CLOSED_REMOTE,
SSH_CHANNEL_FLAG_FREED_LOCAL).
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
