tdeioslave/sftp: purge password in the destructor

This could be useful in case the destructor will be called before
openConnection()

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
pull/447/head
Alexander Golubev 3 months ago committed by TDE Gitea
parent 009382772d
commit 21ce69f338

@ -788,6 +788,8 @@ sftpProtocol::~sftpProtocol() {
/* cleanup and shut down cryto stuff */
ssh_finalize();
purgeString(mPassword);
}
void sftpProtocol::setHost(const TQString& h, int port, const TQString& user, const TQString& pass) {

Loading…
Cancel
Save