diff options
author | Niclas Eklund <[email protected]> | 2011-04-27 16:05:01 +0200 |
---|---|---|
committer | Niclas Eklund <[email protected]> | 2011-04-27 16:05:01 +0200 |
commit | 0d2c45e628b0cd86bba0ad0ae6cdb58d6f9c024a (patch) | |
tree | 77d6b04ee4d470966a38497a9a942cc483ba60dd /lib/ssh/src/ssh_cli.erl | |
parent | d33d5047ac8c0730883454878be4ea88b3b0c2cc (diff) | |
download | otp-0d2c45e628b0cd86bba0ad0ae6cdb58d6f9c024a.tar.gz otp-0d2c45e628b0cd86bba0ad0ae6cdb58d6f9c024a.tar.bz2 otp-0d2c45e628b0cd86bba0ad0ae6cdb58d6f9c024a.zip |
OTP-9232:
A memory leak has been fixed. I.e. per terminated connection the size of
a pid and the length of a user name string was not cleared.
Diffstat (limited to 'lib/ssh/src/ssh_cli.erl')
-rw-r--r-- | lib/ssh/src/ssh_cli.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_cli.erl b/lib/ssh/src/ssh_cli.erl index 4bfd680029..781e01b9d1 100644 --- a/lib/ssh/src/ssh_cli.erl +++ b/lib/ssh/src/ssh_cli.erl @@ -180,8 +180,7 @@ handle_msg(_, State) -> %% Function: terminate(Reason, State) -> void() %% Description: Called when the channel process is trminated %%-------------------------------------------------------------------- -terminate(_Reason, #state{cm = ConnectionManager} = _State) -> - (catch ssh_userreg:delete(ConnectionManager)), +terminate(_Reason, _State) -> ok. %%-------------------------------------------------------------------- |