summaryrefslogtreecommitdiffstats
path: root/src/gcrypt_missing.c
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:03:43 +0100
commit50b9a182f52c38c877b60b781077d33061a78c7d (patch)
treee3fe90209dceb4a8ccd3c0f43d230e0545965756 /src/gcrypt_missing.c
parentbb88b637a9349c8249be2e291c6e85860116ef76 (diff)
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 'src/gcrypt_missing.c')
0 files changed, 0 insertions, 0 deletions