Commit fc7d6e69 authored by David Faure's avatar David Faure

Fix memory leak when deleting MessageViewer and its NodeHelper.

The Interface::BodyPartMemento(s) were not deleted.

Since they are deleted when switching messages, this is no severe
leak, it just showed up in a unittest.
parent ae2e64e6
......@@ -85,6 +85,7 @@ NodeHelper::~NodeHelper()
delete mAttachmentFilesDir;
mAttachmentFilesDir = 0;
}
clear();
}
void NodeHelper::setNodeProcessed(KMime::Content *node, bool recurse)
......
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