[PATCH] quartz/tests: Fix a memory leak (Valgrind).
Sven Baars
sven.wine at gmail.com
Fri Sep 6 10:29:48 CDT 2019
Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
dlls/quartz/tests/filesource.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/quartz/tests/filesource.c b/dlls/quartz/tests/filesource.c
index 18a9bf1499..37f8dd97cd 100644
--- a/dlls/quartz/tests/filesource.c
+++ b/dlls/quartz/tests/filesource.c
@@ -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);
--
2.17.1
More information about the wine-devel
mailing list