aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_cli.erl
diff options
context:
space:
mode:
authorNiclas Eklund <[email protected]>2011-04-27 16:05:01 +0200
committerNiclas Eklund <[email protected]>2011-04-27 16:05:01 +0200
commit0d2c45e628b0cd86bba0ad0ae6cdb58d6f9c024a (patch)
tree77d6b04ee4d470966a38497a9a942cc483ba60dd /lib/ssh/src/ssh_cli.erl
parentd33d5047ac8c0730883454878be4ea88b3b0c2cc (diff)
downloadotp-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.erl3
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.
%%--------------------------------------------------------------------