Commit f03b8a42 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

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

parent fc21a83a
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment