mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00: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