valgrind suppressions: ignore XInitThreads leaks
authorMathieu Duponchelle <mathieu@centricular.com>
Thu, 12 Apr 2018 16:50:35 +0000 (18:50 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Thu, 12 Apr 2018 17:08:41 +0000 (19:08 +0200)
commitae7a213628ffdde8d117e50efef27986b496e77d
treeac7879e392d017c9fcd28b064debbfb0a46513b2
parentfe5b7750600c935714daeeee24d31acad8cd4abe
valgrind suppressions: ignore XInitThreads leaks

As we load that symbol dynamically, valgrind gets confused
when it leaks and reports the leak against an unrelated library
and an unknown (??) symbol.

To address that, put the loading and calling of that symbol
in a separate function, and ignore any malloc leak happening
in that function.
tests/check/generic/states.c
tests/check/gst-plugins-base.supp