summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTanvi Aggarwal <tanvia@codeaurora.org>2016-09-12 17:41:23 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-09-20 22:10:06 -0700
commite2f82b3995bb59cc8b940911189d8e266da51c78 (patch)
treecfb0bad50829008292b7346b3649e9e0501e0156 /tools/perf/scripts/python
parent9e2d528dc47d04e98c5e6f1c4ef84fc268115d36 (diff)
msm: camera: Fix KW issues in sensor code
Fixing issue where we are dereferencing a NULL pointer. There is an issue where, if we have a failure in memory allocation for a mutex, we are not updating rc but freeing the allocated memory for i2c client. Hence this may lead to NULL pointer dereference for i2c client at next stage. Hence we are updating correct rc before freeing the i2c client memory and returning back to parent function. CRs-Fixed: 1066972 Change-Id: I7f9493344da2baddb88fd0db14b894fc242d9f9f Signed-off-by: Tanvi Aggarwal <tanvia@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions