Skip to content

Commit fd1932a

Browse files
committed
Suppress leak in getaddrinfo
1 parent b23d79f commit fd1932a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

src/tests/memcheck.supp

+23
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,27 @@
100100
fun:g_type_module_unuse
101101
obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.8000.0
102102
fun:g_io_extension_point_get_extensions
103+
}
104+
{
105+
<insert_a_suppression_name_here>
106+
Memcheck:Leak
107+
match-leak-kinds: definite
108+
fun:malloc
109+
fun:__libc_alloc_buffer_allocate
110+
fun:alloc_buffer_allocate
111+
fun:__resolv_conf_allocate
112+
fun:__resolv_conf_load
113+
fun:__resolv_conf_get_current
114+
fun:__res_vinit
115+
fun:maybe_init
116+
fun:context_get
117+
fun:context_get
118+
fun:__resolv_context_get
119+
fun:gethostbyname2_r@@GLIBC_2.2.5
120+
fun:try_simple_gethostbyname
121+
fun:gaih_inet
122+
fun:getaddrinfo
123+
obj:/usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.8000.0
124+
obj:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8000.0
125+
obj:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.8000.0
103126
}

0 commit comments

Comments
 (0)