winmm/tests: Fixed a buffer leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bd6f749c16
commit
7deec68fd3
|
@ -1596,6 +1596,7 @@ static void test_fragmentsize(void)
|
|||
rc = waveOutClose(wout);
|
||||
ok(rc == MMSYSERR_NOERROR, "waveOutClose failed: %s\n", wave_out_error(rc));
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, hdr[0].lpData);
|
||||
CloseHandle(hevent);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue