dmstyle/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:
Sven Baars 2019-01-22 21:35:15 +01:00 committed by Alexandre Julliard
parent 193eecee3d
commit f3e3401a0a
1 changed files with 1 additions and 0 deletions

View File

@ -487,6 +487,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, DMUS_OBJ_CATEGORY not supported */
stream = gen_riff_stream(alldesc);