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:
parent
193eecee3d
commit
f3e3401a0a
|
@ -487,6 +487,7 @@ static void test_parsedescriptor(void)
|
||||||
hr = IDirectMusicObject_ParseDescriptor(dmo, stream, &desc);
|
hr = IDirectMusicObject_ParseDescriptor(dmo, stream, &desc);
|
||||||
ok(hr == DMUS_E_CHUNKNOTFOUND,
|
ok(hr == DMUS_E_CHUNKNOTFOUND,
|
||||||
"ParseDescriptor failed: %08x, expected DMUS_E_CHUNKNOTFOUND\n", hr);
|
"ParseDescriptor failed: %08x, expected DMUS_E_CHUNKNOTFOUND\n", hr);
|
||||||
|
IStream_Release(stream);
|
||||||
|
|
||||||
/* All desc chunks, DMUS_OBJ_CATEGORY not supported */
|
/* All desc chunks, DMUS_OBJ_CATEGORY not supported */
|
||||||
stream = gen_riff_stream(alldesc);
|
stream = gen_riff_stream(alldesc);
|
||||||
|
|
Loading…
Reference in New Issue