commit | 23256e444364ca08407833f475393a151d825d79 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Wed Oct 03 11:18:34 2018 -0700 |
committer | George Burgess IV <gbiv@google.com> | Wed Oct 03 19:02:10 2018 +0000 |
tree | def85757935db4627154cb98a4f84985d3118e00 | |
parent | 21d312e7187ca9d7399f0ec6cae189cc1c5651c9 [diff] |
nuplayer2: Fix two use-after-frees - std::ostringstream::c_str returns a string by value, so we can't immediately call c_str() on it and assign that to a variable. - DrmUUID::arrayToHex returns a String8 by value. Similar "can't just call string() and assign that to a variable". Both caught by our static analyzer. Bug: None Test: Ran the analyzer again Change-Id: Ia9e0b2b00ee5150225dd487f3611a3893946fa4b