mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[USBPORT] Fix ControllerName leak in USBPORT_GetUnicodeName (CID 1419258).
This commit is contained in:
parent
b5289a2f6e
commit
a237edf4bb
1 changed files with 1 additions and 0 deletions
|
@ -276,6 +276,7 @@ USBPORT_GetUnicodeName(IN PDEVICE_OBJECT FdoDevice,
|
|||
|
||||
if (ControllerName->Header.UsbUserStatusCode != UsbUserSuccess)
|
||||
{
|
||||
ExFreePoolWithTag(ControllerName, USB_PORT_TAG);
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue