commit | ebccf632866584bf7a9d097fdaad7c4bc8f039bc | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Mon Jan 25 15:54:39 2021 -0800 |
committer | William A. Kennington III <wak@google.com> | Tue Jan 26 02:26:54 2021 -0800 |
tree | 1271f150f1f79abf7676230a8f3960a0310b0830 | |
parent | 53ecd290eac6ea16613c231668b34bfb0850beae [diff] [blame] |
tools: Fix missing FD close() Change-Id: Ia244931d2bf634d037e2319e11b477a77898826a Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/tools/bt.cpp b/tools/bt.cpp index eeac686..7f88517 100644 --- a/tools/bt.cpp +++ b/tools/bt.cpp
@@ -21,6 +21,7 @@ if (fileSize == 0) { std::fprintf(stderr, "Zero-length file, or other file access error\n"); + sys->close(inputFd); return false; }