valgrind: Add more suppressions to glib.supp

These were spotted by running the entire test suite under valgrind,
thanks to the magic of Meson: see the build rules in valgrind-x86_64 in
.gitlab-ci.yml.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2018-06-27 10:01:40 +01:00
parent e818089b70
commit da44b78bef

View File

@ -51,6 +51,16 @@
fun:initialize_module_inlock_reentrant fun:initialize_module_inlock_reentrant
} }
# One-time allocation from libc for getpwnam() results
{
g-local-vfs-getpwnam
Memcheck:Leak
fun:malloc
...
fun:getpwnam
fun:g_local_vfs_parse_name
}
{ {
gobject-init-malloc gobject-init-malloc
Memcheck:Leak Memcheck:Leak
@ -232,6 +242,18 @@
fun:_g_io_module_get_default fun:_g_io_module_get_default
} }
# One-time getaddrinfo() configuration loading
{
g-threaded-resolver-getaddrinfo-config
Memcheck:Leak
fun:malloc
...
fun:__resolv_conf_allocate
...
fun:getaddrinfo
fun:do_lookup_by_name
}
# memcheck checks that the third argument to ioctl() is a valid pointer, but # memcheck checks that the third argument to ioctl() is a valid pointer, but
# some ioctls use that argument as an integer # some ioctls use that argument as an integer
{ {