Commit b5d3c73a authored by Peter Ganten's avatar Peter Ganten Committed by Alexandre Julliard

waveHdr.lpData was eventually HeapFree()ed uninitialized.

parent d14aea2c
......@@ -262,6 +262,8 @@ static BOOL WINAPI proc_PlaySound(LPCSTR lpszSoundName, UINT uFlags)
WAVEHDR waveHdr;
INT count, bufsize, left;
waveHdr.lpData = NULL;
TRACE("SoundName='%s' uFlags=%04X !\n", lpszSoundName, uFlags);
if (lpszSoundName == NULL) {
TRACE("Stop !\n");
......
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