mirror of https://github.com/xzeldon/htop.git
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:
parent
0a5890d332
commit
4cf74de1f1
|
@ -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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue