Revert "Fix more mem leak found by ASAN"
This reverts commit 4fff608d. These deletion of those headers make EncrytJob, SignEncryptJob and SignJob fail, because they are async and the ~SinglePartJob is called when gpg is doing it work. And it is already visible in the test suite MultipartJobTest and SignJobTest both failing because of this. Furthermore we should not delete only some headers, instead we should delete those headers when we delete the complete message. CCMAIL: montel@kde.org
parent
8d930473
Please register or sign in to comment