summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2018-04-13 21:19:02 +0200
committerMathieu Duponchelle <mathieu@centricular.com>2018-04-13 21:28:44 +0200
commit79f16d69affca8c3054a02ce35b29ba834fb0701 (patch)
tree128b54a8797e50fc9c1ae85930b34ef14d7d7e2a
parentec3c49e9584db38aa978ca09e71afd485731a789 (diff)
valgrind supps: ignore gnutls leaking a certificate
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.
-rw-r--r--tests/check/gst-plugins-good.supp20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/check/gst-plugins-good.supp b/tests/check/gst-plugins-good.supp
index 643435d64..c9ea5e428 100644
--- a/tests/check/gst-plugins-good.supp
+++ b/tests/check/gst-plugins-good.supp
@@ -185,3 +185,23 @@
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
+}