Fixes memory leak of ssh_session. The mSession member variable is
allocated with a call to ssh_new in sftpOpenConnection but in the
closeConnection a call to ssh_free was missing causing the ssh_session
to be leaked.
Details
Details
- Reviewers
sitter aacid - Group Reviewers
Frameworks - Commits
- R320:b85ec7a551ea: Fixes memory leak of ssh_session
Build and run kio_sftp with address sanitizer
Diff Detail
Diff Detail
- Repository
- R320 KIO Extras
- Branch
- fixes_memory_leak_of_session (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 9592 Build 9610: arc lint + arc unit