From: Nicolas Dufresne Date: Tue, 4 Jun 2019 17:39:00 +0000 (-0400) Subject: supp: Ignore leaks caused by shout/sethostent X-Git-Tag: 1.16.2~24 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fgst-plugins-good.git;a=commitdiff_plain;h=d5f9a5fffd77b3f00ba29d685fc720ad9268b7a5 supp: Ignore leaks caused by shout/sethostent sethostent() seems to be using a global state and we endup with leaks from that API when called through shout_init(). We had the option to only ignore the shout case, but the impression is that if we have shout and another sethostend user, as it's a global state, we may endup with a different stack trace for the same leak. So in the end, we just ignore memory allocated by sethostent in general. --- diff --git a/tests/check/gst-plugins-good.supp b/tests/check/gst-plugins-good.supp index c9ea5e4..5132c7d 100644 --- a/tests/check/gst-plugins-good.supp +++ b/tests/check/gst-plugins-good.supp @@ -205,3 +205,12 @@ fun:g_tls_certificate_gnutls_real_copy fun:g_tls_server_connection_gnutls_retrieve_function } + +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + ... + fun:sethostent +}