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:
Sven Baars 2019-09-06 17:29:48 +02:00 committed by Alexandre Julliard
parent 3b9888efa3
commit deb26091ef
1 changed files with 1 additions and 0 deletions

View File

@ -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);