mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-08 12:41:29 +00:00
tests: valgrind.supp: suppress g_type_register_static leaks
When a type is registered, it holds allocated memory until the program exits. Add an exception to valgrind.supp to make the output of make -C tests valgrind more readable. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
13eb6c1468
commit
cb6ea86f6f
@ -148,3 +148,16 @@
|
|||||||
fun:virObjectUnref
|
fun:virObjectUnref
|
||||||
fun:main
|
fun:main
|
||||||
}
|
}
|
||||||
|
#
|
||||||
|
# types registered with GLib are never freed
|
||||||
|
#
|
||||||
|
{
|
||||||
|
glibTypeRegisterLeak
|
||||||
|
Memcheck:Leak
|
||||||
|
match-leak-kinds: possible
|
||||||
|
...
|
||||||
|
fun:g_realloc
|
||||||
|
obj:*/lib*/libgobject*
|
||||||
|
fun:g_type_register_static
|
||||||
|
...
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user