Paulo, Thanks for fixing this bug.
Reviewed-by: Feng Tian <[email protected]> Thanks Feng -----Original Message----- From: edk2-devel [mailto:[email protected]] On Behalf Of Alcantara, Paulo Sent: Tuesday, February 09, 2016 04:54 To: [email protected] Cc: Tian, Feng; Zeng, Star Subject: [edk2] [PATCH] MdeModulePkg/UsbBusDxe: Fix memory leak Cc: Feng Tian <[email protected]> Cc: Star Zeng <[email protected]> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Paulo Alcantara <[email protected]> --- MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c index e67a885..399b7a3 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c @@ -1372,6 +1372,8 @@ UsbBusRecursivelyConnectWantedUsbIo ( } } + FreePool (UsbIoBuffer); + return EFI_SUCCESS; } -- 2.6.2 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

