[autotests] Fix heap-use-after-free
Thanks build.kde.org!
This commit is contained in:
parent
746fc49bb6
commit
c1b709b250
1 changed files with 1 additions and 0 deletions
|
@ -415,6 +415,7 @@ void DebugConsoleTest::testWaylandClient()
|
||||||
QEXPECT_FAIL("", "Deleting a ShellSurface does not result in the server removing the ShellClient", Continue);
|
QEXPECT_FAIL("", "Deleting a ShellSurface does not result in the server removing the ShellClient", Continue);
|
||||||
QVERIFY(rowsRemovedSpy.wait());
|
QVERIFY(rowsRemovedSpy.wait());
|
||||||
// also destroy the connection to ensure the ShellSurface goes away
|
// also destroy the connection to ensure the ShellSurface goes away
|
||||||
|
surface.reset();
|
||||||
shell.reset();
|
shell.reset();
|
||||||
shm.reset();
|
shm.reset();
|
||||||
compositor.reset();
|
compositor.reset();
|
||||||
|
|
Loading…
Reference in a new issue