Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 7c1477af authored by Andreas Schneider's avatar Andreas Schneider

sftp: Fix a double free if file copy fails.

BUG: 343153
Signed-off-by: default avatarAndreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 860ceeaa)
parent aa247815
......@@ -1448,7 +1448,6 @@ sftpProtocol::StatusCode sftpProtocol::sftpPut(const KUrl& url, int permissions,
sftp_unlink(mSftp, dest.constData());
}
}
delete attr;
sftp_attributes_free(attr);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment