Commit eedac2ff authored by Laurent Montel's avatar Laurent Montel 😁

Revert "Fix leak in templateparserjob"

This reverts commit 0161e0bb.

It crashs when we forward as inline
parent b203c17e
......@@ -1228,8 +1228,6 @@ void TemplateParserJob::addProcessedBodyToMessage(const QString &plainBody, cons
d->mMsg->setHeader(mainPart->contentTransferEncoding());
d->mMsg->assemble();
d->mMsg->parse();
delete mainPart; // no longer needed
}
KMime::Content *TemplateParserJob::createMultipartMixed(const QVector<KMime::Content *> &attachments, KMime::Content *textPart) const
......
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