From fd1932a131aa6660d4a8c2d28f0ec421d0b2b9db Mon Sep 17 00:00:00 2001 From: Lars Windolf Date: Mon, 20 Jan 2025 23:16:45 +0100 Subject: [PATCH] Suppress leak in getaddrinfo --- src/tests/memcheck.supp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/tests/memcheck.supp b/src/tests/memcheck.supp index e3d2eb49d..25da56931 100644 --- a/src/tests/memcheck.supp +++ b/src/tests/memcheck.supp @@ -100,4 +100,27 @@ fun:g_type_module_unuse obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.8000.0 fun:g_io_extension_point_get_extensions +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:__libc_alloc_buffer_allocate + fun:alloc_buffer_allocate + fun:__resolv_conf_allocate + fun:__resolv_conf_load + fun:__resolv_conf_get_current + fun:__res_vinit + fun:maybe_init + fun:context_get + fun:context_get + fun:__resolv_context_get + fun:gethostbyname2_r@@GLIBC_2.2.5 + fun:try_simple_gethostbyname + fun:gaih_inet + fun:getaddrinfo + obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.8000.0 + obj:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8000.0 + obj:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8000.0 } \ No newline at end of file