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

Commit 33100512 authored by Greg Kaiser's avatar Greg Kaiser
Browse files

btif: Avoid resource leak in error case

If our memory allocation fails, we make sure we close our file
before returning.

Test: TreeHugger
Change-Id: I43b43d8b3d96e51a73bc8187ef614d02bbd31781
parent 3ba7d9ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment