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:
parent
1985f330f8
commit
079c51f692
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue