[USBSTOR]
authorThomas Faber <thomas.faber@reactos.org>
Fri, 14 Apr 2017 10:24:41 +0000 (10:24 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Fri, 14 Apr 2017 10:24:41 +0000 (10:24 +0000)
- Avoid MDL leak in USBSTOR_SendIrp. Patch by Lesan Ilie.
CORE-13061 #resolve

svn path=/trunk/; revision=74303

reactos/drivers/usb/usbstor/pdo.c

index d684ef3..6ce5d8f 100644 (file)
@@ -1183,6 +1183,7 @@ USBSTOR_SendIrp(
     // free resources
     //
     ExFreePoolWithTag(Request, USB_STOR_TAG);
+    IoFreeMdl(Irp->MdlAddress);
     IoFreeIrp(Irp);
     return Status;
 }