valgrind supps: ignore gnutls leaking a certificate
authorMathieu Duponchelle <mathieu@centricular.com>
Fri, 13 Apr 2018 19:19:02 +0000 (21:19 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Fri, 13 Apr 2018 19:28:44 +0000 (21:28 +0200)
After investigating, we do dispose of the TLS connections
appropriately in the souphttpsrc test, which in turn
calls gnutls_deinit, but certificates get leaked anyway.

tests/check/gst-plugins-good.supp

index 643435d..c9ea5e4 100644 (file)
    fun:getaddrinfo
    ...
 }
+
+{
+  <gnutls sessions leak the certificates, even though gnutls_deinit is correctly called>
+  Memcheck:Leak
+  match-leak-kinds: definite
+  fun:malloc
+  ...
+  fun:g_tls_certificate_gnutls_real_copy
+  fun:g_tls_server_connection_gnutls_retrieve_function
+}
+
+{
+  <gnutls sessions leak the certificates, even though gnutls_deinit is correctly called>
+  Memcheck:Leak
+  match-leak-kinds: definite
+  fun:calloc
+  ...
+  fun:g_tls_certificate_gnutls_real_copy
+  fun:g_tls_server_connection_gnutls_retrieve_function
+}