dmband/tests: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bb8214fe43
commit
d1f00a17aa
|
@ -390,6 +390,7 @@ static void test_parsedescriptor(void)
|
||||||
hr = IDirectMusicObject_ParseDescriptor(dmo, stream, &desc);
|
hr = IDirectMusicObject_ParseDescriptor(dmo, stream, &desc);
|
||||||
ok(hr == DMUS_E_INVALID_BAND,
|
ok(hr == DMUS_E_INVALID_BAND,
|
||||||
"ParseDescriptor failed: %08x, expected DMUS_E_INVALID_BAND\n", hr);
|
"ParseDescriptor failed: %08x, expected DMUS_E_INVALID_BAND\n", hr);
|
||||||
|
IStream_Release(stream);
|
||||||
|
|
||||||
/* A category chunk adds DMUS_OBJ_DATE too */
|
/* A category chunk adds DMUS_OBJ_DATE too */
|
||||||
stream = gen_riff_stream(catdate);
|
stream = gen_riff_stream(catdate);
|
||||||
|
|
Loading…
Reference in New Issue