]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
FreeBSD suppression: reachable for setlocale
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 20 Apr 2024 05:54:05 +0000 (07:54 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 20 Apr 2024 05:54:05 +0000 (07:54 +0200)
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.

freebsd.supp

index bd82c90817e187831b82d6049abe7df86cc541e4..758c034ff8fcf0fbb2ceb493ed921f97bab4efa4 100644 (file)
    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
+}