From d1f00a17aac2c7c4500298e1be8efbfe8244b0f6 Mon Sep 17 00:00:00 2001 From: Sven Baars Date: Tue, 22 Jan 2019 21:35:12 +0100 Subject: [PATCH] dmband/tests: Fix a memory leak (Valgrind). Signed-off-by: Sven Baars Signed-off-by: Michael Stefaniuc Signed-off-by: Alexandre Julliard --- dlls/dmband/tests/dmband.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/dmband/tests/dmband.c b/dlls/dmband/tests/dmband.c index b7a3a5b2b5e..29d06682197 100644 --- a/dlls/dmband/tests/dmband.c +++ b/dlls/dmband/tests/dmband.c @@ -390,6 +390,7 @@ static void test_parsedescriptor(void) hr = IDirectMusicObject_ParseDescriptor(dmo, stream, &desc); ok(hr == DMUS_E_INVALID_BAND, "ParseDescriptor failed: %08x, expected DMUS_E_INVALID_BAND\n", hr); + IStream_Release(stream); /* A category chunk adds DMUS_OBJ_DATE too */ stream = gen_riff_stream(catdate);