Skip to content

Commit

Permalink
tools: suppress some reachable external lib "leaks"
Browse files Browse the repository at this point in the history
- 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 <[email protected]>
  • Loading branch information
choppsv1 committed Nov 11, 2023
1 parent 59beac5 commit 756002e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tools/valgrind.supp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@
fun:cap_init
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
Expand Down

0 comments on commit 756002e

Please sign in to comment.