summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandtabletv2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/qwaylandtabletv2.cpp')
-rw-r--r--src/client/qwaylandtabletv2.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/qwaylandtabletv2.cpp b/src/client/qwaylandtabletv2.cpp
index 8a0544aeb..5e1cc8fe4 100644
--- a/src/client/qwaylandtabletv2.cpp
+++ b/src/client/qwaylandtabletv2.cpp
@@ -38,6 +38,9 @@ QWaylandTabletSeatV2::~QWaylandTabletSeatV2()
tool->destroy();
for (auto *pad : m_pads)
pad->destroy();
+ qDeleteAll(m_tablets);
+ qDeleteAll(m_tools);
+ qDeleteAll(m_pads);
destroy();
}