Fix malloc/delete mismatch
Summary: Fixes pointer was allocated with malloc (by libssh) but freed with delete. This is not safe and causes undefined behavior. Test Plan: Build and run kio_sftp with address sanitizer Reviewers: #frameworks, dfaure, sitter, aacid Reviewed By: aacid Subscribers: aacid, kde-frameworks-devel, kfm-devel Tags: #dolphin, #frameworks Differential Revision: https://phabricator.kde.org/D19767
parent
5fbc83d7
Please register or sign in to comment