diff options
author | Laszlo Ersek <lersek@redhat.com> | 2019-09-07 01:25:10 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2019-10-09 09:40:09 +0200 |
commit | 7b6ceb4d3b4678a9e76a3ff881b25d5e68c4439c (patch) | |
tree | 7ca5b0872e32c904949d6a3f4e927bc285098901 /BaseTools/Source/Python/Common/LongFilePathOsPath.py | |
parent | 7609c0472838debe6c7cc7b053e3f5ed710465fd (diff) | |
download | edk2-7b6ceb4d3b4678a9e76a3ff881b25d5e68c4439c.tar.gz edk2-7b6ceb4d3b4678a9e76a3ff881b25d5e68c4439c.tar.bz2 edk2-7b6ceb4d3b4678a9e76a3ff881b25d5e68c4439c.zip |
EmbeddedPkg/AndroidFastbootTransportTcpDxe: fix DestroyChild() call
- The 2nd parameter of EFI_SERVICE_BINDING_CREATE_CHILD is:
IN OUT EFI_HANDLE *ChildHandle
- The 2nd parameter of EFI_SERVICE_BINDING_DESTROY_CHILD is:
IN EFI_HANDLE ChildHandle
Fix the DestroyChild() call in TcpFastbootTransportStop().
This is an actual bugfix; I don't know why the current code doesn't crash.
Perhaps the function is never reached in practice? (It could be tied to an
error path.)
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'BaseTools/Source/Python/Common/LongFilePathOsPath.py')
0 files changed, 0 insertions, 0 deletions