Fix ASAN warning
Don't leak the MockWorkspace, no other test does.
This commit is contained in:
parent
2d1f276c2c
commit
f5a75e70dc
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ void TestScreenEdges::init()
|
|||
KWin::Cursors::self()->setMouse(new KWin::Cursor(this));
|
||||
|
||||
using namespace KWin;
|
||||
new MockWorkspace;
|
||||
new MockWorkspace(this);
|
||||
auto config = KSharedConfig::openConfig(QString(), KConfig::SimpleConfig);
|
||||
Screens::create();
|
||||
|
||||
|
|
Loading…
Reference in a new issue