diff --git a/drivers/usb/usbport/ioctl.c b/drivers/usb/usbport/ioctl.c index 76743911154..7322958889f 100644 --- a/drivers/usb/usbport/ioctl.c +++ b/drivers/usb/usbport/ioctl.c @@ -276,6 +276,7 @@ USBPORT_GetUnicodeName(IN PDEVICE_OBJECT FdoDevice, if (ControllerName->Header.UsbUserStatusCode != UsbUserSuccess) { + ExFreePoolWithTag(ControllerName, USB_PORT_TAG); return STATUS_UNSUCCESSFUL; }