[PATCH] dmcompos/tests: Fix a memory leak (Valgrind).
Sven Baars
sven.wine at gmail.com
Tue Jan 22 14:35:13 CST 2019
Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
dlls/dmcompos/tests/dmcompos.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/dmcompos/tests/dmcompos.c b/dlls/dmcompos/tests/dmcompos.c
index 7063e99acd..d23f5d6dae 100644
--- a/dlls/dmcompos/tests/dmcompos.c
+++ b/dlls/dmcompos/tests/dmcompos.c
@@ -543,6 +543,7 @@ static void test_parsedescriptor(void)
hr = IDirectMusicObject_ParseDescriptor(dmo, stream, &desc);
ok(hr == DMUS_E_CHUNKNOTFOUND,
"ParseDescriptor failed: %08x, expected DMUS_E_CHUNKNOTFOUND\n", hr);
+ IStream_Release(stream);
/* All desc chunks, only DMUS_OBJ_OBJECT and DMUS_OBJ_CLASS supported */
stream = gen_riff_stream(alldesc);
--
2.17.1
More information about the wine-devel
mailing list