1
0
forked from drath/libratbag

tools: valgrind: shut up some non relevant memory leaks

Fixes #405

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
Benjamin Tissoires
2017-10-23 10:30:43 +02:00
committed by Peter Hutterer
parent ff39e67615
commit 0337ae41ab

View File

@@ -9,10 +9,8 @@
Remove dlopens, as libratbag does not do those
Memcheck:Leak
match-leak-kinds: reachable
fun:calloc
fun:_dl_new_object
fun:_dl_map_object_from_fd
fun:_dl_map_object
fun:*alloc
...
fun:openaux
fun:_dl_catch_error
fun:_dl_map_object_deps
@@ -22,3 +20,51 @@
fun:dlopen_doit
fun:_dl_catch_error
}
{
Remove calloc static allocated glib entries
Memcheck:Leak
match-leak-kinds: reachable
fun:*alloc
...
obj:/usr/lib64/libglib*.so*
fun:g_key_file_new
}
{
Remove any libglib-2 static alloc
Memcheck:Leak
match-leak-kinds: reachable
fun:*alloc
...
obj:/usr/lib64/libglib*.so*
fun:_dl_init
obj:/usr/lib64/ld*.so*
}
{
quarks in glib-2 are staying around
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
...
obj:/usr/lib64/libglib*.so*
fun:g_quark_from_static_string
}
{
Remove pooled allocated memory from systemd
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
fun:mempool_alloc_tile
}
{
Remove pooled allocated memory from systemd
Memcheck:Leak
match-leak-kinds: reachable
fun:malloc
...
fun:internal_ordered_hashmap_ensure_allocated
}