[Spice-devel] [PATCH spice-server 3/3] valgrind: Ignore some library leaks

Frediano Ziglio fziglio at redhat.com
Tue Mar 13 22:12:58 UTC 2018


Ignore getaddrinfo and libproxy leaks.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/tests/valgrind/glib.supp | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/server/tests/valgrind/glib.supp b/server/tests/valgrind/glib.supp
index ccfab67d..c4625bba 100644
--- a/server/tests/valgrind/glib.supp
+++ b/server/tests/valgrind/glib.supp
@@ -491,3 +491,22 @@
 	...
 	fun:g_object_new_valist
 }
+
+{
+	getaddrinfo
+	Memcheck:Leak
+	fun:malloc
+	...
+	fun:__resolv_conf_allocate
+	...
+	fun:getaddrinfo
+}
+
+{
+	px_proxy_factory_get_proxies
+	Memcheck:Leak
+	fun:malloc
+	fun:tls_get_addr_tail
+	...
+	fun:px_proxy_factory_get_proxies
+}
-- 
2.14.3



More information about the Spice-devel mailing list