dmscript/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
79077e9a7c
commit
193eecee3d
|
@ -327,6 +327,7 @@ static void test_parsedescriptor(void)
|
|||
hr = IDirectMusicObject_ParseDescriptor(dmo, stream, &desc);
|
||||
ok(hr == DMUS_E_SCRIPT_INVALID_FILE,
|
||||
"ParseDescriptor failed: %08x, expected DMUS_E_SCRIPT_INVALID_FILE\n", hr);
|
||||
IStream_Release(stream);
|
||||
|
||||
IDirectMusicObject_Release(dmo);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue