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:
committed by
Feng Tian
parent
5458faf845
commit
2a09778d6f
@@ -1372,6 +1372,8 @@ UsbBusRecursivelyConnectWantedUsbIo (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FreePool (UsbIoBuffer);
|
||||||
|
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user