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:03:43 +0100 |
| commit | 50b9a182f52c38c877b60b781077d33061a78c7d (patch) | |
| tree | e3fe90209dceb4a8ccd3c0f43d230e0545965756 /src/threads | |
| parent | bb88b637a9349c8249be2e291c6e85860116ef76 (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/threads')
0 files changed, 0 insertions, 0 deletions
