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

Skip to content
Commit e1b5239d authored by Yiduo Wang's avatar Yiduo Wang
Browse files

msm: camera: Fix improper memory free in failure case



Remove improper drv_priv free in failure case and
add NULL pointer check to avoid kernel panic

Change-Id: If074eba245e93bf8fead505993a2611582e4398d
Signed-off-by: default avatarYiduo Wang <yiduow@codeaurora.org>
parent 792ce78d
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