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.
This commit is contained in:
Vadim Zeitlin
2020-10-12 15:33:01 +02:00
parent 3dec092dff
commit 987758eb97

10
misc/suppressions/lsan Normal file
View File

@@ -0,0 +1,10 @@
# Leak sanitizer suppressions for wx, use it by setting
# LSAN_OPTIONS=suppressions=<path-to-this-file>
# 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