From c1b709b250385fb8d2490b32c438464e1fb4ff5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 29 Mar 2016 11:08:04 +0200 Subject: [PATCH] [autotests] Fix heap-use-after-free Thanks build.kde.org! --- autotests/wayland/debug_console_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/autotests/wayland/debug_console_test.cpp b/autotests/wayland/debug_console_test.cpp index ca9dd825fc..e5463d940b 100644 --- a/autotests/wayland/debug_console_test.cpp +++ b/autotests/wayland/debug_console_test.cpp @@ -415,6 +415,7 @@ void DebugConsoleTest::testWaylandClient() QEXPECT_FAIL("", "Deleting a ShellSurface does not result in the server removing the ShellClient", Continue); QVERIFY(rowsRemovedSpy.wait()); // also destroy the connection to ensure the ShellSurface goes away + surface.reset(); shell.reset(); shm.reset(); compositor.reset();