commit | 5cb76ce6296a585cf7c9c4a197816704ed2b7e37 | [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 | cba87036f3eb4a2b0409f766ddaf432505eba919 | |
parent | 4b7b3e7ff5b5e26943279e0d0351154e1bf823ae [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