Commit 49a21e0f authored by Luis GarciaCalderon's avatar Luis GarciaCalderon
Browse files

vidc: Fix cleanup error after a failure when importing ion fd.



An invalid value in the kernel address variable causes an
ion unmap error when attempting to clean up after a failure
occurs when importing the ion fd in the function
vidc_insert_addr_table().

When an ion import fd failure occurs, cleanup is not required.
During failure we now go directly to bail out and the cleanup
code is skipped.

CRs-Fixed: 332841
Change-Id: I3aa99a278806b8f8031c1618ab067391909105c7
Signed-off-by: default avatarLuis GarciaCalderon <luisgc@codeaurora.org>
parent 8e3e3a8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment