summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJon Simons <jon@jonsimons.org>2013-12-09 12:38:55 -0800
committerAndreas Schneider <asn@cryptomilk.org>2013-12-11 21:02:05 +0100
commit0557f57c63539b98a60211c8a4b5b81a2f61c95e (patch)
tree69967f3d98d24e54451de5b6a906be671d44dd39 /include
parent4f4e917187742e033db8d1888734e7492ddd208b (diff)
downloadlibssh-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