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:
Michael Stefaniuc 2019-01-22 23:31:19 +01:00 committed by Alexandre Julliard
parent f1e406d71f
commit 2fcbe743f5
1 changed files with 1 additions and 0 deletions

View File

@ -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);