Commit f94e6ab4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix mem leak

parent 3d96a7bc
...@@ -256,6 +256,7 @@ ViewerPrivate::ViewerPrivate(Viewer *aParent, QWidget *mainWindow, KActionCollec ...@@ -256,6 +256,7 @@ ViewerPrivate::ViewerPrivate(Viewer *aParent, QWidget *mainWindow, KActionCollec
ViewerPrivate::~ViewerPrivate() ViewerPrivate::~ViewerPrivate()
{ {
delete mMessageViewerRenderer;
MessageViewer::MessageViewerSettings::self()->save(); MessageViewer::MessageViewerSettings::self()->save();
delete mHtmlWriter; delete mHtmlWriter;
mHtmlWriter = nullptr; mHtmlWriter = nullptr;
......
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