ci: Disable leak error from Valgrind

For some reason under Fedora 31 the g_socket_client_connect call
from test-listen test caused Valgrind to detect a leak.
Note that the like at gtype.c (g_socket_client_connect) specifically
marks a memory block as malloc-like. Not sure if it's an issue
with Valgrind or with GLib, as a workaround disable the leak report.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Uri Lublin <uril@redhat.com>
This commit is contained in:
Frediano Ziglio 2019-11-25 10:00:30 +00:00
parent d0614859cf
commit 9480df32fe

View File

@ -69,3 +69,14 @@
fun:getaddrinfo
fun:do_lookup_by_name
}
# g_type_create_instance Valgring malloc annotation, for
# some reason this has issues with Fedora 31 from test-listen test
{
g_type_create_instance-valgrind
Memcheck:Leak
fun:g_type_create_instance
...
fun:g_socket_client_connect
fun:fake_client_connect_tls
}