mirror of
https://github.com/reactos/reactos.git
synced 2024-08-06 03:14:36 +00:00
[WDMAUD_KERNEL]
- Extend the mdl hack svn path=/trunk/; revision=47687
This commit is contained in:
parent
5b8ed5479f
commit
65169e1f54
|
@ -457,15 +457,16 @@ WdmAudReadWrite(
|
|||
Status = KsProbeStreamIrp(Irp, KSPROBE_STREAMREAD | KSPROBE_ALLOCATEMDL | KSPROBE_PROBEANDLOCK, Length);
|
||||
}
|
||||
|
||||
/* now free the mdl */
|
||||
IoFreeMdl(Mdl);
|
||||
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("KsProbeStreamIrp failed with Status %x Cancel %u\n", Status, Irp->Cancel);
|
||||
Irp->MdlAddress = Mdl;
|
||||
return SetIrpIoStatus(Irp, Status, 0);
|
||||
}
|
||||
|
||||
/* now free the mdl */
|
||||
IoFreeMdl(Mdl);
|
||||
|
||||
/* get device info */
|
||||
DeviceInfo = (PWDMAUD_DEVICE_INFO)Irp->AssociatedIrp.SystemBuffer;
|
||||
ASSERT(DeviceInfo);
|
||||
|
|
Loading…
Reference in a new issue