From 987758eb979a186dfc8288f1efcb82bff6c626a5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 12 Oct 2020 15:33:01 +0200 Subject: [PATCH] Add a suppression file for FontConfig leaks occurring under wxGTK We're not interested in these (one off) leaks and can't do anything about them anyhow, so just provide a way too suppress leak sanitizer errors about them. --- misc/suppressions/lsan | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 misc/suppressions/lsan diff --git a/misc/suppressions/lsan b/misc/suppressions/lsan new file mode 100644 index 0000000000..694ce9f9b6 --- /dev/null +++ b/misc/suppressions/lsan @@ -0,0 +1,10 @@ +# Leak sanitizer suppressions for wx, use it by setting +# LSAN_OPTIONS=suppressions= + +# Known leaks in libfontconfig.so.1: note that you must have its debug symbols +# installed for these suppressions to work. +leak:FcConfigValues +leak:FcLangSetCreate +leak:FcPatternObjectInsertElt +leak:FcValueListCreate +leak:FcValueSave