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

Skip to content
Commit f29870be authored by George Burgess IV's avatar George Burgess IV Committed by George Burgess
Browse files

TargetAudioEncTest: use vector instead of malloc

The static analyzer noted that we'll fail to `free` this `malloc()` if any
ASSERT between it and the `free()` fails. Just use a `vector<char>`
instead, since that handles freeing for us.

Bug: 206470603
Test: TreeHugger
Change-Id: I2c7edab803420beb9f4d72c83f6a770fb053413e
parent d5fdf9c3
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