[PATCH] dmband/tests: Fix a memory leak (Valgrind).
Michael Stefaniuc
mstefani at winehq.org
Tue Jan 22 16:36:18 CST 2019
On 1/22/19 9:35 PM, Sven Baars wrote:
> Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
> ---
> dlls/dmband/tests/dmband.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/dlls/dmband/tests/dmband.c b/dlls/dmband/tests/dmband.c
> index b7a3a5b2b5..29d0668219 100644
> --- a/dlls/dmband/tests/dmband.c
> +++ b/dlls/dmband/tests/dmband.c
> @@ -390,6 +390,7 @@ static void test_parsedescriptor(void)
> hr = IDirectMusicObject_ParseDescriptor(dmo, stream, &desc);
> ok(hr == DMUS_E_INVALID_BAND,
> "ParseDescriptor failed: %08x, expected DMUS_E_INVALID_BAND\n", hr);
> + IStream_Release(stream);
>
> /* A category chunk adds DMUS_OBJ_DATE too */
> stream = gen_riff_stream(catdate);
>
More information about the wine-devel
mailing list