From b09f9460964f9c4f993304b173f3315befc73e74 Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Sat, 20 Apr 2024 07:54:05 +0200 Subject: [PATCH] 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. --- freebsd.supp | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 +} -- 2.47.2