diff --git a/reactos/drivers/hid/hidclass/fdo.c b/reactos/drivers/hid/hidclass/fdo.c index 3eab30d2786..3b1ccbd1930 100644 --- a/reactos/drivers/hid/hidclass/fdo.c +++ b/reactos/drivers/hid/hidclass/fdo.c @@ -384,6 +384,7 @@ HidClassFDO_GetDescriptors( // // completed successfully // + IoFreeIrp(Irp); return STATUS_SUCCESS; } diff --git a/reactos/drivers/usb/usbhub/pdo.c b/reactos/drivers/usb/usbhub/pdo.c index 9c3e06851de..78139206287 100644 --- a/reactos/drivers/usb/usbhub/pdo.c +++ b/reactos/drivers/usb/usbhub/pdo.c @@ -48,6 +48,11 @@ UrbCompletion( // IoCompleteRequest(OriginalIrp, IO_NO_INCREMENT); + // + // Free our allocated IRP + // + IoFreeIrp(Irp); + // // Return this status so the IO Manager doesnt mess with the Irp //