commit | 901e188ab1f108b882d531f6f79978e4ae3f9eee | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon May 14 17:12:50 2018 -0700 |
committer | Josh Gao <jmgao@google.com> | Mon May 14 17:36:45 2018 -0700 |
tree | 990100318e58dcd22a546e04886645e915dfa60f | |
parent | 452f28da1591fecdb85b2dfb2020441a19946371 [diff] |
adb: fix double close in jdwp_service. Bug: http://b/78793027 Test: treehugger Change-Id: Ie66d12e70bdaf09148e3d672e3c7c3da9e8ab2fe (cherry picked from commit b7a9956cbc1cd8b1ffff86d13c6bea893a65c74d)
diff --git a/adb/jdwp_service.cpp b/adb/jdwp_service.cpp index 6f5396a..5f070d9 100644 --- a/adb/jdwp_service.cpp +++ b/adb/jdwp_service.cpp
@@ -292,8 +292,6 @@ goto CloseProcess; } - adb_close(fd); - D("sent file descriptor %d to JDWP process %d", fd, proc->pid); proc->out_fds.pop_back();