diff --git a/src/wayland/autotests/client/test_wayland_surface.cpp b/src/wayland/autotests/client/test_wayland_surface.cpp index b19df50b73..e106f4c2cf 100644 --- a/src/wayland/autotests/client/test_wayland_surface.cpp +++ b/src/wayland/autotests/client/test_wayland_surface.cpp @@ -1029,6 +1029,7 @@ void TestWaylandSurface::testDisconnect() m_shm->destroy(); m_compositor->destroy(); m_queue->destroy(); + m_idleInhibitManager->destroy(); } void TestWaylandSurface::testOutput()