commit | 30259f9c2761d4173b1f54f8258e71253cec99c6 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Feb 12 17:24:00 2018 -0800 |
committer | Josh Gao <jmgao@google.com> | Mon Feb 12 17:31:39 2018 -0800 |
tree | 43cd877381636eb84062f84c6bc66f857ad6a5d2 | |
parent | 3e755e4294e12c5278e67ec464a576d7a763adfa [diff] |
adb: use delete on objects with destructors. asocket has a destructor now, so we have to delete it, or leak the data pointed to by its std::string. Bug: http://b/73257049 Test: manual testing with asan Change-Id: Ia88199292cc74e10032a9a16226d3afc61c3e0be