From 756002e277132e7173a28cd7c76c259d300d0bbf Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Sat, 11 Nov 2023 20:56:26 +0100 Subject: [PATCH] tools: suppress some reachable external lib "leaks" - These are just normal reachable allocs from inside external library code; however, when running valgrind with memleak types "all" in order to find FRR specific leaks (from memory.h) these are the only other reported leaks. Makes easier checking and fixing. Signed-off-by: Christian Hopps --- tools/valgrind.supp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tools/valgrind.supp b/tools/valgrind.supp index da3d4a8d6d..d2cb4118de 100644 --- a/tools/valgrind.supp +++ b/tools/valgrind.supp @@ -23,6 +23,15 @@ fun:cap_init fun:zprivs_caps_init } +{ + + Memcheck:Leak + match-leak-kinds: reachable + ... + fun:getgrouplist + fun:zprivs_init + fun:frr_init +} { Memcheck:Leak