[PATCH 1/3] dmime/tests: Fix a memory leak (Valgrind).
Michael Stefaniuc
mstefani at winehq.org
Tue Jan 29 13:51:58 CST 2019
On 1/29/19 12:10 AM, Sven Baars wrote:
> Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
> ---
> dlls/dmime/tests/performance.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/dlls/dmime/tests/performance.c b/dlls/dmime/tests/performance.c
> index c4cbb32e18..567de1e7f1 100644
> --- a/dlls/dmime/tests/performance.c
> +++ b/dlls/dmime/tests/performance.c
> @@ -315,6 +315,9 @@ static void test_createport(void)
> ok(port == NULL, "Get IDirectMusicPort pointer? %p\n", port);
> ok(portparams.dwValidParams == 0, "portparams struct was filled in?\n");
>
> + hr = IDirectMusicPerformance8_CloseDown(perf);
> + ok(hr == S_OK, "CloseDown failed: %08x\n", hr);
> +
> IDirectMusic_Release(music);
> IDirectMusicPerformance_Release(perf);
> }
>
More information about the wine-devel
mailing list