mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Removed freeing of IRP's MDL in ScsiClassIoComplete.
svn path=/trunk/; revision=3343
This commit is contained in:
parent
675afa7691
commit
4e9dc21691
1 changed files with 1 additions and 10 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* 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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* 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 */
|
/* FIXME: use lookaside list instead */
|
||||||
DPRINT("Freed SRB %p\n", IrpStack->Parameters.Scsi.Srb);
|
DPRINT("Freed SRB %p\n", IrpStack->Parameters.Scsi.Srb);
|
||||||
ExFreePool(IrpStack->Parameters.Scsi.Srb);
|
ExFreePool(IrpStack->Parameters.Scsi.Srb);
|
||||||
|
|
Loading…
Reference in a new issue