Commit cac51f5f authored by Sandro Knauß's avatar Sandro Knauß 🐝
Browse files

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.

parent 8d930473
......@@ -27,15 +27,6 @@ public:
delete contentTransferEncoding;
delete contentType;
delete contentID;
delete contentDescription;
delete contentDisposition;
bool chooseCTE();
QByteArray data;
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