From 22b49705a29f1a91f20506f7e7a5b0d9da5be581 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Mon, 11 Jan 2016 20:26:39 +0400 Subject: [PATCH] this seems to fix the memory leak. --- cowrie/ssh/session.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cowrie/ssh/session.py b/cowrie/ssh/session.py index feb1a44..327d9b0 100644 --- a/cowrie/ssh/session.py +++ b/cowrie/ssh/session.py @@ -64,6 +64,7 @@ class HoneyPotSSHSession(session.SSHSession): This is reliably called on session close/disconnect and calls the avatar """ session.SSHSession.closed(self) + self.client = None def sendEOF(self):