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

Skip to content
Commit ec554f88 authored by Vinayak Menon's avatar Vinayak Menon
Browse files

ion: return proper error value on allocation failure



Return ENOMEM on allocation failure from ion_system_heap_allocate.
The absence of this was resulting in ion_buffer_create to proceed
further and thus causing a crash.

Change-Id: I906b129b5fe1c74f7176116142085fbb47c3c834
Signed-off-by: default avatarVinayak Menon <vinmenon@codeaurora.org>
parent 0b8903e1
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