From: Paul Floyd Date: Sat, 20 Apr 2024 05:54:05 +0000 (+0200) Subject: FreeBSD suppression: reachable for setlocale X-Git-Tag: VALGRIND_3_23_0~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b09f9460964f9c4f993304b173f3315befc73e74;p=thirdparty%2Fvalgrind.git FreeBSD suppression: reachable for setlocale Normally I have LANG=en_GB.UTF-8 and LC_ALL=C but if I switch to C.UTF-8 for everything (which is the default for a fresh install) then setlocale comes into the picture with a reachable allocation on exit. --- diff --git a/freebsd.supp b/freebsd.supp index bd82c9081..758c034ff 100644 --- a/freebsd.supp +++ b/freebsd.supp @@ -116,3 +116,14 @@ obj:*/lib*/libc.so.7 fun:__swbuf } +{ + MEMCHECK-LIBC-SETLOCALE + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc + obj:*/lib*/libc.so.7 + obj:*/lib*/libc.so.7 + obj:*/lib*/libc.so.7 + obj:*/lib*/libc.so.7 + fun:setlocale +}