D19767: Fix malloc/delete mismatch

Albert Astals Cid noreply at phabricator.kde.org
Thu Mar 14 21:04:58 GMT 2019


aacid added inline comments.

INLINE COMMENTS

> kio_sftp.cpp:446
>      cPath = QFile::decodeName(sPath);
> -    delete sPath;
> +    free(sPath);
>  

Use ssh_string_free_char ?

REPOSITORY
  R320 KIO Extras

REVISION DETAIL
  https://phabricator.kde.org/D19767

To: hallas, #frameworks, dfaure, sitter
Cc: aacid, kde-frameworks-devel, kfm-devel, alexde, feverfew, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190314/0052a24f/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list