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

Skip to content
Commit 0d82d7d1 authored by George Burgess IV's avatar George Burgess IV
Browse files

VideoDecTest: stop managing memory manually

We can get the same effect as `malloc`'ing here by using `std::vector`.
Further, with `std::vector`, we don't have theoretical issues with
`ASSERT_EQ(_, nullptr)` failing, which would lead to us potentially
leaking one of the allocations here.

Bug: 206470603
Test: TreeHugger
Change-Id: I7568317c74f6403da3d0755c97b3fd418b9d7cdb
parent 1784108e
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