mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[WDMAUD.DRV] fix memory leak in error case CID 716484
svn path=/trunk/; revision=68978
This commit is contained in:
@@ -668,6 +668,7 @@ WdmAudCommitWaveBufferByLegacy(
|
||||
if (Overlap->Standard.hEvent == NULL)
|
||||
{
|
||||
// no memory
|
||||
HeapFree(GetProcessHeap(), 0, DeviceInfo);
|
||||
return MMSYSERR_NOMEM;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user