quartz/tests: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3b9888efa3
commit
deb26091ef
|
@ -460,6 +460,7 @@ static void test_file_source_filter(void)
|
|||
|
||||
hr = IPin_QueryAccept(pin, pmt);
|
||||
ok(hr == S_FALSE, "Got hr %#x.\n", hr);
|
||||
CoTaskMemFree(pmt);
|
||||
|
||||
hr = IEnumMediaTypes_Next(enum_mt, 1, &pmt, NULL);
|
||||
ok(hr == S_FALSE, "Got hr %#x.\n", hr);
|
||||
|
|
Loading…
Reference in New Issue