Commit 7deec68f authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

winmm/tests: Fixed a buffer leak (Valgrind).

parent bd6f749c
...@@ -1596,6 +1596,7 @@ static void test_fragmentsize(void) ...@@ -1596,6 +1596,7 @@ static void test_fragmentsize(void)
rc = waveOutClose(wout); rc = waveOutClose(wout);
ok(rc == MMSYSERR_NOERROR, "waveOutClose failed: %s\n", wave_out_error(rc)); ok(rc == MMSYSERR_NOERROR, "waveOutClose failed: %s\n", wave_out_error(rc));
HeapFree(GetProcessHeap(), 0, hdr[0].lpData);
CloseHandle(hevent); CloseHandle(hevent);
} }
......
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