dmloader: Fix a memory leak.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f1e406d71f
commit
2fcbe743f5
|
@ -547,6 +547,7 @@ static void test_parsedescriptor(void)
|
||||||
hr = IDirectMusicObject_ParseDescriptor(dmo, stream, &desc);
|
hr = IDirectMusicObject_ParseDescriptor(dmo, stream, &desc);
|
||||||
ok(hr == DMUS_E_DESCEND_CHUNK_FAIL,
|
ok(hr == DMUS_E_DESCEND_CHUNK_FAIL,
|
||||||
"ParseDescriptor failed: %08x, expected DMUS_E_DESCEND_CHUNK_FAIL\n", hr);
|
"ParseDescriptor failed: %08x, expected DMUS_E_DESCEND_CHUNK_FAIL\n", hr);
|
||||||
|
IStream_Release(stream);
|
||||||
|
|
||||||
/* All desc chunks */
|
/* All desc chunks */
|
||||||
stream = gen_riff_stream(alldesc);
|
stream = gen_riff_stream(alldesc);
|
||||||
|
|
Loading…
Reference in New Issue