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)
default:
WARN("Technology not supported (yet) %d !\n",
MidiOutDev[wDevID].caps.wTechnology);
HeapFree(GetProcessHeap(), 0, lpNewData);
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