dlls/winmm/winealsa/midi.c

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Sun Sep 26 15:18:05 CDT 2004


Changelog:
  Call GetProcessHeap() instead of passing it's address

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/winmm/winealsa/midi.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/winealsa/midi.c,v
retrieving revision 1.8
diff -u -r1.8 midi.c
--- wine/dlls/winmm/winealsa/midi.c	19 Feb 2004 04:12:18 -0000	1.8
+++ wine/dlls/winmm/winealsa/midi.c	26 Sep 2004 20:08:52 -0000
@@ -948,7 +948,7 @@
      */
     if (lpData[0] != 0xF0 || lpData[lpMidiHdr->dwBufferLength - 1] != 0xF7) {
 	WARN("Alledged system exclusive buffer is not correct\n\tPlease report with MIDI file\n");
-	lpNewData = HeapAlloc(GetProcessHeap, 0, lpMidiHdr->dwBufferLength + 2);
+	lpNewData = HeapAlloc(GetProcessHeap(), 0, lpMidiHdr->dwBufferLength + 2);
     }
 
     TRACE("dwBufferLength=%lu !\n", lpMidiHdr->dwBufferLength);



More information about the wine-patches mailing list