diff --git a/glib.supp b/glib.supp index 7a3fe6bc3..f64826b3c 100644 --- a/glib.supp +++ b/glib.supp @@ -51,6 +51,16 @@ 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 Memcheck:Leak @@ -232,6 +242,18 @@ 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 # some ioctls use that argument as an integer {