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

Fix mem leak found by asan

parent 697b728d
......@@ -72,7 +72,7 @@ void MarkdownInterface::createAction(KActionCollection *ac)
mPopupMenuAction = new QAction(i18n("Markdown Action"), this);
QMenu *mardownMenu = new QMenu;
QMenu *mardownMenu = new QMenu(parentWidget());
mPopupMenuAction->setMenu(mardownMenu);
mPopupMenuAction->setEnabled(false);
QMenu *titleMenu = new QMenu(i18n("Add Title"), mardownMenu);
......
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