Skip to content

Commit 4cf74de

Browse files
XimalasBenBE
authored andcommitted
Suppress reporting memory leaks originating from libdevstat
Based on https://cgit.freebsd.org/src/tree/lib/libdevstat/devstat.c the following four functions call memory allocation functions: - devstat_getdevs() - devstat_selectdevs() - devstat_buildmatch() - get_devstat_kvm()
1 parent 0a5890d commit 4cf74de

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

scripts/htop_suppressions.valgrind

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,13 @@
4545
fun:CRT_setColors
4646
fun:CRT_init
4747
}
48+
49+
{
50+
<devstat internal memory>
51+
Memcheck:Leak
52+
match-leak-kinds: possible,reachable
53+
...
54+
obj:*/libdevstat*
55+
...
56+
fun:Platform_getDiskIO
57+
}

0 commit comments

Comments
 (0)