Commit ebd56f9e authored by Yiduo Wang's avatar Yiduo Wang Committed by Gerrit - the friendly Code Review server
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 f36218e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment