waveHdr.lpData was eventually HeapFree()ed uninitialized.

This commit is contained in:
Peter Ganten 1999-12-04 04:18:09 +00:00 committed by Alexandre Julliard
parent d14aea2c64
commit b5d3c73a11

View File

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