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:
parent
fc21a83a91
commit
f03b8a42f9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue