commit | e72c44b24a936db707296420b65411d6d2d00551 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Jun 10 12:48:34 2019 -0700 |
committer | Josh Gao <jmgao@google.com> | Mon Jun 10 12:54:14 2019 -0700 |
tree | 94dc5a872be1c567fec65646ac4d3c52494b7035 | |
parent | 8958d7a127e86e142355d1e075a16897d6424e73 [diff] |
adb: avoid freeing argv entries on Windows. We assign string literals directly to argv[0], which leads to fun explosions when we attempt to free when the runtime can detect that a bad free happened, which seems to happen reliably with lld. Bug: http://b/110800681 Test: `adb shell true` on windows Change-Id: Ica81e472c31686d80b58c41ff6d2b825baef06fb