Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 23256e44 authored by George Burgess IV's avatar George Burgess IV
Browse files

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
parent 21d312e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment