[PATCH] dmusic/tests: Fix a memory leak (Valgrind).
Michael Stefaniuc
mstefani at winehq.org
Tue Jan 22 16:38:18 CST 2019
On 1/22/19 11:31 PM, Sven Baars wrote:
> Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
> ---
> dlls/dmusic/tests/dmusic.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/dlls/dmusic/tests/dmusic.c b/dlls/dmusic/tests/dmusic.c
> index 19890d17dc..a4fbd4af71 100644
> --- a/dlls/dmusic/tests/dmusic.c
> +++ b/dlls/dmusic/tests/dmusic.c
> @@ -720,6 +720,7 @@ static void test_parsedescriptor(void)
> stream = gen_riff_stream(empty);
> hr = IDirectMusicObject_ParseDescriptor(dmo, stream, &desc);
> ok(hr == DMUS_E_NOTADLSCOL, "ParseDescriptor failed: %08x, expected DMUS_E_NOTADLSCOL\n", hr);
> + IStream_Release(stream);
>
> /* All desc chunks */
> stream = gen_riff_stream(alldesc);
>
More information about the wine-devel
mailing list