Author: tfaber Date: Fri Apr 14 10:24:41 2017 New Revision: 74303
URL: http://svn.reactos.org/svn/reactos?rev=74303&view=rev Log: [USBSTOR] - Avoid MDL leak in USBSTOR_SendIrp. Patch by Lesan Ilie. CORE-13061 #resolve
Modified: trunk/reactos/drivers/usb/usbstor/pdo.c
Modified: trunk/reactos/drivers/usb/usbstor/pdo.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbstor/pdo.c?r... ============================================================================== --- trunk/reactos/drivers/usb/usbstor/pdo.c [iso-8859-1] (original) +++ trunk/reactos/drivers/usb/usbstor/pdo.c [iso-8859-1] Fri Apr 14 10:24:41 2017 @@ -1183,6 +1183,7 @@ // free resources // ExFreePoolWithTag(Request, USB_STOR_TAG); + IoFreeMdl(Irp->MdlAddress); IoFreeIrp(Irp); return Status; }