This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient. commit ad8971048d4bdb77fe2be59c504e9053894192dc Author: Mihai Moldovan <ionic@ionic.de> Date: Sun Aug 20 05:46:00 2017 +0200 src/sshmasterconnection.cpp: don't leak ssh_session data, free it once we're done with it. --- debian/changelog | 2 ++ src/sshmasterconnection.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/debian/changelog b/debian/changelog index 97141bf..5621f60 100644 --- a/debian/changelog +++ b/debian/changelog @@ -164,6 +164,8 @@ x2goclient (4.1.0.1-0x2go1) UNRELEASED; urgency=medium - Makefile: add new QMAKE_OPTS variable so that packagers can pass additional options to qmake directly. - src/sshmasterconnection.cpp: typo fix in log message only. + - src/sshmasterconnection.cpp: don't leak ssh_session data, free it once + we're done with it. * x2goclient.spec: - Respect %{optflags} and pass QMAKE_STRIP=: to fix missing debug info issues. diff --git a/src/sshmasterconnection.cpp b/src/sshmasterconnection.cpp index dc71111..0556299 100644 --- a/src/sshmasterconnection.cpp +++ b/src/sshmasterconnection.cpp @@ -938,6 +938,8 @@ bool SshMasterConnection::sshConnect() x2goDebug << "Fetched inferred session port: " << inferred_port; work_port = inferred_port & 0xFFFF; + + ssh_free (tmp_session); } } #endif -- Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git