mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:15:59 +00:00
[CDROM]
- Remove invalid frees. CID 511759. svn path=/trunk/; revision=64797
This commit is contained in:
parent
c0e495f046
commit
e383d6c605
1 changed files with 0 additions and 3 deletions
|
@ -3931,10 +3931,7 @@ CdRomSwitchModeCompletion(
|
||||||
IoCompleteRequest(realIrp, IO_DISK_INCREMENT);
|
IoCompleteRequest(realIrp, IO_DISK_INCREMENT);
|
||||||
|
|
||||||
ExFreePool(srb->SenseInfoBuffer);
|
ExFreePool(srb->SenseInfoBuffer);
|
||||||
ExFreePool(srb->DataBuffer);
|
|
||||||
ExFreePool(srb);
|
ExFreePool(srb);
|
||||||
IoFreeMdl(Irp->MdlAddress);
|
|
||||||
IoFreeIrp(Irp);
|
|
||||||
|
|
||||||
IoStartNextPacket(DeviceObject, FALSE);
|
IoStartNextPacket(DeviceObject, FALSE);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue