From d4dd370cf35a0216520316a02361348378c46403 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Thu, 14 Oct 2021 22:03:39 +0300 Subject: [PATCH] autotests: Fix ASAN issues Currently, InputRedirection is not destroyed before waylandServer(), unlike in kwin_wayland, which causes some null dereferencing. --- autotests/integration/kwin_wayland_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/autotests/integration/kwin_wayland_test.cpp b/autotests/integration/kwin_wayland_test.cpp index 1fe0c9b407..60a6872d1b 100644 --- a/autotests/integration/kwin_wayland_test.cpp +++ b/autotests/integration/kwin_wayland_test.cpp @@ -88,6 +88,7 @@ WaylandTestApplication::~WaylandTestApplication() } destroyInputMethod(); destroyCompositor(); + destroyInput(); } void WaylandTestApplication::performStartup()