mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 15:14:38 +01:00
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:
committed by
Peter Hutterer
parent
ff39e67615
commit
0337ae41ab
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user