mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
Removed freeing of IRP's MDL in ScsiClassIoComplete.
svn path=/trunk/; revision=3343
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: class2.c,v 1.21 2002/06/06 23:19:36 ekohl Exp $
|
||||
/* $Id: class2.c,v 1.22 2002/08/17 15:21:12 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
@@ -929,15 +929,6 @@ ScsiClassIoComplete(PDEVICE_OBJECT DeviceObject,
|
||||
}
|
||||
}
|
||||
|
||||
/* Free the IRP's MDL */
|
||||
if (Irp->MdlAddress->MappedSystemVa != NULL)
|
||||
{
|
||||
MmUnmapLockedPages(Irp->MdlAddress->MappedSystemVa,
|
||||
Irp->MdlAddress);
|
||||
}
|
||||
MmUnlockPages(Irp->MdlAddress);
|
||||
ExFreePool(Irp->MdlAddress);
|
||||
|
||||
/* FIXME: use lookaside list instead */
|
||||
DPRINT("Freed SRB %p\n", IrpStack->Parameters.Scsi.Srb);
|
||||
ExFreePool(IrpStack->Parameters.Scsi.Srb);
|
||||
|
||||
Reference in New Issue
Block a user