summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/README.lsan9
-rw-r--r--util/lsan.suppressions4
2 files changed, 13 insertions, 0 deletions
diff --git a/util/README.lsan b/util/README.lsan
new file mode 100644
index 00000000..c35965b8
--- /dev/null
+++ b/util/README.lsan
@@ -0,0 +1,9 @@
+You need these suppressions when running with Wayland, as QtWaylandCompositor
+does not delete anything on shutdown:
+
+export LSAN_OPTIONS="suppressions=<path/to/appman>/util/lsan.suppressions"
+
+
+Please note: the qml/resources auto-test will report leaks, but these
+are deliberate: we cannot unload resource files once they are loaded in
+single-process mode.
diff --git a/util/lsan.suppressions b/util/lsan.suppressions
new file mode 100644
index 00000000..7360da54
--- /dev/null
+++ b/util/lsan.suppressions
@@ -0,0 +1,4 @@
+leak:*QWayland*
+leak:libxkbcommon.so
+leak:libwayland-client.so
+leak:*QQuickPointerDevice*