diff options
| author | Yifan Hong <elsk@google.com> | 2021-02-22 15:06:27 -0800 |
|---|---|---|
| committer | Yifan Hong <elsk@google.com> | 2021-03-17 15:38:06 -0700 |
| commit | b10d067e0cbeacc117dc404769d9019794672637 (patch) | |
| tree | 589cf9116b336de0fe32f1dc7b3c9a5901cf8800 /base/errors_unix.cpp | |
| parent | 60de969eff92ab29dbb6a617c01942246bf41619 (diff) | |
fastboot driver: Fix ownership of fd in fastboot_buffer.
fastboot_buffer owns the fd. Make ImageSource::Open()
returns a unique_fd and pass ownership all the way
down to the fastboot_buffer to avoid leaking fds.
Test: none
Change-Id: I9e7e176fc1da74c532a86d0fdba0113bdc81a166
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions
