mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[USBPORT] Fix ControllerName leak in USBPORT_GetUnicodeName (CID 1419258).
This commit is contained in:
committed by
Thomas Faber
parent
b5289a2f6e
commit
a237edf4bb
@@ -276,6 +276,7 @@ USBPORT_GetUnicodeName(IN PDEVICE_OBJECT FdoDevice,
|
||||
|
||||
if (ControllerName->Header.UsbUserStatusCode != UsbUserSuccess)
|
||||
{
|
||||
ExFreePoolWithTag(ControllerName, USB_PORT_TAG);
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user