diff options
| author | Christian Hopps <chopps@labn.net> | 2023-11-11 20:56:26 +0100 | 
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-11-11 21:10:45 +0100 | 
| commit | 756002e277132e7173a28cd7c76c259d300d0bbf (patch) | |
| tree | 7ec921fb6fd84a92a3d7683bfc5d00babd789a54 /tools | |
| parent | 59beac5013f48889d8b73bb57df085d8d3e7a09f (diff) | |
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 <chopps@labn.net>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/valgrind.supp | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/valgrind.supp b/tools/valgrind.supp index da3d4a8d6d..d2cb4118de 100644 --- a/tools/valgrind.supp +++ b/tools/valgrind.supp @@ -24,6 +24,15 @@     fun:zprivs_caps_init  }  { +   <zprivs_init leak in library code we do not control> +   Memcheck:Leak +   match-leak-kinds: reachable +   ... +   fun:getgrouplist +   fun:zprivs_init +   fun:frr_init +} +{     <sqlite3 leak in a function we do not control>     Memcheck:Leak     fun:malloc  | 
