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>
oldstable
Nikolay Sivov 2017-07-14 08:23:37 +03:00 committed by Alexandre Julliard
parent fc21a83a91
commit f03b8a42f9
1 changed files with 2 additions and 0 deletions

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