Commit 64927cb6 authored by Laurent Montel's avatar Laurent Montel 😁

Revert "Fix potential leak in nodehelper"

This reverts commit b203c17e.

It's already delete in destructor see line 80, we clean temporary file +
delete this pointer.
parent eedac2ff
......@@ -337,7 +337,7 @@ void NodeHelper::removeTempFiles()
{
//Don't delete as it will be deleted in class
mAttachmentFilesDir->removeTempFiles();
mAttachmentFilesDir = new AttachmentTemporaryFilesDirs(this);
mAttachmentFilesDir = new AttachmentTemporaryFilesDirs();
}
void NodeHelper::addTempFile(const QString &file)
......
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