mf/tests: Fix mediatype instance leak (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-04-12 17:10:40 +03:00 committed by Alexandre Julliard
parent 1985f330f8
commit 079c51f692
1 changed files with 1 additions and 0 deletions

View File

@ -5237,6 +5237,7 @@ static void test_MFRequireProtectedEnvironment(void)
hr = MFRequireProtectedEnvironment(pd);
ok(hr == S_OK, "Unexpected hr %#x.\n", hr);
IMFMediaType_Release(mediatype);
IMFStreamDescriptor_Release(sd);
IMFPresentationDescriptor_Release(pd);
}