commit | 318cac4615acf350fcd7173591e20682e668a7e4 | [log] [tgz] |
---|---|---|
author | Kiran Gunda <kgunda@codeaurora.org> | Mon Oct 21 17:00:15 2013 +0530 |
committer | Kiran Gunda <kgunda@codeaurora.org> | Mon Oct 21 17:14:19 2013 +0530 |
tree | 8b816c18c7a569ed8170c522f97355657968c499 | |
parent | 8d46600637c557ad84605853e661aacf1b2e2d8c [diff] |
slim_ngd: Add NULL pointer check apart from error check Check against NULL pointer after allocating the memory for msm_slim_ctrl structure pointer dynamically to avoid unexpected crashes. Earlier this pointer is checked only for error codes. In this patch NULL pointer check is also added. CRs-Fixed: 562417 Change-Id: I5cd731144f88b89ee412d19f110b3df6426186f7 Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>