MdeModulePkg/UsbBusDxe: Fix memory leak

Cc: Feng Tian <feng.tian@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Paulo Alcantara <paulo.alc.cavalcanti@hp.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
Alcantara, Paulo 2016-02-09 04:53:34 +08:00 committed by Feng Tian
parent 5458faf845
commit 2a09778d6f

View File

@ -1372,6 +1372,8 @@ UsbBusRecursivelyConnectWantedUsbIo (
}
}
FreePool (UsbIoBuffer);
return EFI_SUCCESS;
}