Commit 3b47a573 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

winealsa.drv: Fix a memory leak.

parent dbf995a8
...@@ -1018,6 +1018,7 @@ static DWORD modLongData(WORD wDevID, LPMIDIHDR lpMidiHdr, DWORD dwSize) ...@@ -1018,6 +1018,7 @@ static DWORD modLongData(WORD wDevID, LPMIDIHDR lpMidiHdr, DWORD dwSize)
default: default:
WARN("Technology not supported (yet) %d !\n", WARN("Technology not supported (yet) %d !\n",
MidiOutDev[wDevID].caps.wTechnology); MidiOutDev[wDevID].caps.wTechnology);
HeapFree(GetProcessHeap(), 0, lpNewData);
return MMSYSERR_NOTENABLED; return MMSYSERR_NOTENABLED;
} }
......
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