summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2019-08-23 09:19:03 +0200
committerJohan Klokkhammer Helsing <johan.helsing@qt.io>2019-08-26 16:27:30 +0200
commit59c076b2e774e50b7a63bd9c3e3e6d55582063d5 (patch)
tree29bcf512cd107f784bc02ccd7189cd31b914e01e /tests/auto
parent854c90ccad13e1b9059dddd07144ac3c1131f645 (diff)
Client tests: Add missing cleanup for keyboards
Change-Id: Ia085dbe34b6e3b7cf83b4f55c265e12b1145ab8a Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/client/shared/coreprotocol.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/client/shared/coreprotocol.cpp b/tests/auto/client/shared/coreprotocol.cpp
index f9335e783..fcc9f311c 100644
--- a/tests/auto/client/shared/coreprotocol.cpp
+++ b/tests/auto/client/shared/coreprotocol.cpp
@@ -191,6 +191,9 @@ Seat::~Seat()
{
qDeleteAll(m_oldPointers);
delete m_pointer;
+
+ qDeleteAll(m_oldKeyboards);
+ delete m_keyboard;
}
void Seat::setCapabilities(uint capabilities) {