Commit deb26091 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

quartz/tests: Fix a memory leak (Valgrind).

parent 3b9888ef
...@@ -460,6 +460,7 @@ static void test_file_source_filter(void) ...@@ -460,6 +460,7 @@ static void test_file_source_filter(void)
hr = IPin_QueryAccept(pin, pmt); hr = IPin_QueryAccept(pin, pmt);
ok(hr == S_FALSE, "Got hr %#x.\n", hr); ok(hr == S_FALSE, "Got hr %#x.\n", hr);
CoTaskMemFree(pmt);
hr = IEnumMediaTypes_Next(enum_mt, 1, &pmt, NULL); hr = IEnumMediaTypes_Next(enum_mt, 1, &pmt, NULL);
ok(hr == S_FALSE, "Got hr %#x.\n", hr); ok(hr == S_FALSE, "Got hr %#x.\n", hr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment