1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

msacm32/tests: Fix a memory leak in tests (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2017-07-14 08:23:37 +03:00 committed by Alexandre Julliard
parent fc21a83a91
commit f03b8a42f9

View File

@ -1272,6 +1272,8 @@ static void test_acmFormatChoose(void)
rc = acmFormatChooseW(&afc);
ok(rc == MMSYSERR_INVALPARAM, "expected 0xb, got 0x%x\n", rc);
afc.pwfx = pwfx;
HeapFree(GetProcessHeap(), 0, pwfx);
}
static struct