Author: tfaber
Date: Sat Oct 18 09:52:14 2014
New Revision: 64797
URL:
http://svn.reactos.org/svn/reactos?rev=64797&view=rev
Log:
[CDROM]
- Remove invalid frees. CID 511759.
Modified:
trunk/reactos/drivers/storage/class/cdrom/cdrom.c
Modified: trunk/reactos/drivers/storage/class/cdrom/cdrom.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/cdro…
==============================================================================
--- trunk/reactos/drivers/storage/class/cdrom/cdrom.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/cdrom/cdrom.c [iso-8859-1] Sat Oct 18 09:52:14
2014
@@ -3931,10 +3931,7 @@
IoCompleteRequest(realIrp, IO_DISK_INCREMENT);
ExFreePool(srb->SenseInfoBuffer);
- ExFreePool(srb->DataBuffer);
ExFreePool(srb);
- IoFreeMdl(Irp->MdlAddress);
- IoFreeIrp(Irp);
IoStartNextPacket(DeviceObject, FALSE);