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

Skip to content
Commit 99793493 authored by Deepak Kaushal's avatar Deepak Kaushal Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: sensor: Free vc_cfg pointer in case of error



1.Free localy allocated vc_cfg pointer to prevent memory
leak in case of failed operation copy from user.
2.Bugfix to free array of pointers.

Change-Id: I68fd7200ad7bc8298da1edb5f6556900ab153d01
Signed-off-by: default avatarDeepak Kaushal <dkaushal@codeaurora.org>
Signed-off-by: default avatarVasko Kalanoski <vaskok@codeaurora.org>
parent 84ca2995
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