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

Fix mem leak found by asan

parent a1e72f7e
Pipeline #24749 failed with stage
in 60 minutes and 30 seconds
......@@ -33,10 +33,12 @@ InsertSpecialCharacterPluginEditorTest::~InsertSpecialCharacterPluginEditorTest(
void InsertSpecialCharacterPluginEditorTest::shouldHaveDefaultValue()
{
InsertSpecialCharacterPluginEditor plugin;
QVERIFY(plugin.createInterface());
auto interface = plugin.createInterface();
QVERIFY(interface);
QVERIFY(!plugin.hasConfigureDialog());
QVERIFY(!plugin.hasPopupMenuSupport());
QVERIFY(!plugin.hasToolBarSupport());
delete interface;
}
QTEST_MAIN(InsertSpecialCharacterPluginEditorTest)
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