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()
This commit is contained in:
Ximalas 2021-10-12 10:44:24 +02:00 committed by Benny Baumann
parent 0a5890d332
commit 4cf74de1f1
1 changed files with 10 additions and 0 deletions

View File

@ -45,3 +45,13 @@
fun:CRT_setColors fun:CRT_setColors
fun:CRT_init fun:CRT_init
} }
{
<devstat internal memory>
Memcheck:Leak
match-leak-kinds: possible,reachable
...
obj:*/libdevstat*
...
fun:Platform_getDiskIO
}