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

Commit 2e3a448a authored by Praneeth Paladugu's avatar Praneeth Paladugu
Browse files

msm: vidc: Fix error handling for session init failure



When session_init command to HW fails, the newly created session is
freed. But this session exists in device->sessions list as it was
not removed from device sessions list. This can result in dangling
pointers and can cause list corruptions.

Change-Id: Iecc116d44e6cfb56364fd438acd98522c579f6fa
CRs-Fixed: 770877
Signed-off-by: default avatarPraneeth Paladugu <ppaladug@codeaurora.org>
parent f7d25bdf
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