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:
Nikolay Sivov 2016-08-09 12:43:02 +03:00 committed by Alexandre Julliard
parent bd6f749c16
commit 7deec68fd3
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}