commit | 0ed6c80d40c215720a47f62d02f9bff4e1b76257 | [log] [tgz] |
---|---|---|
author | Calin Juravle <calin@google.com> | Mon Mar 27 18:12:05 2017 -0700 |
committer | Calin Juravle <calin@google.com> | Mon Mar 27 18:12:54 2017 -0700 |
tree | 62da9f73df1bfb6684662f3ac69027410b24bd63 | |
parent | 49ebbb27ccaccd7d1466eebb24b847118b6f78a3 [diff] |
Close the right fd in native_stack_dump Test: m test-art-host Change-Id: I7edbeba699f3e957b915c5fcd52337ee64b878e2
diff --git a/runtime/native_stack_dump.cc b/runtime/native_stack_dump.cc index 7460d62..cbc5024 100644 --- a/runtime/native_stack_dump.cc +++ b/runtime/native_stack_dump.cc
@@ -105,7 +105,7 @@ if (pid == -1) { close(caller_to_addr2line[0]); close(caller_to_addr2line[1]); - close(addr2line_to_caller[1]); + close(addr2line_to_caller[0]); close(addr2line_to_caller[1]); return nullptr; }