The test now consistently fails, probably since the docker image update, with x264enc failing to allocate memory. The failure seem to happen only if some tests are run before it, but that seem to come from memory fragmentation rather than leaks. Except for the leaks fixed here, I couldn't find any other through Valgrind or GStreamer leak checkers.
-- v2: mf/tests: Skip memory-hungry H264 encoder tests on 32bit. mf/tests: Avoid leaking D3D resources through IMFTrackedSample. mf/tests: Fix some leaks in transform tests. winegstreamer: Fix some video decoder media type leaks. mp3dmod: Avoid uninitialized variable access. mp3dmod: Fix some media type leaks.