diff options
author | Tao Bao <tbao@google.com> | 2016-11-28 11:48:43 -0800 |
---|---|---|
committer | Tao Bao <tbao@google.com> | 2016-11-28 12:09:39 -0800 |
commit | 358c2ec1dca24d48a503b441d38545ace021ea8e (patch) | |
tree | 433b869340d93bf43ed46916abbcf1cf218e1fb6 /applypatch/imgdiff.cpp | |
parent | 3dc14cb429061e49ef76948cf55a0e3edf8b170a (diff) | |
download | android_bootable_recovery-358c2ec1dca24d48a503b441d38545ace021ea8e.tar.gz android_bootable_recovery-358c2ec1dca24d48a503b441d38545ace021ea8e.tar.bz2 android_bootable_recovery-358c2ec1dca24d48a503b441d38545ace021ea8e.zip |
Remove ota_close(int) and ota_fclose(FILE*).
We should always use unique_fd or unique_file to hold the FD or FILE*
pointer when opening via ota_(f)open functions.
This CL avoids accidentally closing raw FDs or FILE* pointers that are
managed by unique_fd/unique_file.
Test: recovery_component_test passes.
Change-Id: If58eb8b5c5da507563f85efd5d56276472a1c957
Diffstat (limited to 'applypatch/imgdiff.cpp')
0 files changed, 0 insertions, 0 deletions