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

Commit b45ff00c authored by Alok Chauhan's avatar Alok Chauhan
Browse files

msm: camera: cdm: Fix dangling pointer issue



Explicitly set pointer to NULL after freeing the
memory. This avoid causing memory corruption incase
the memory is already freed.

CRs-Fixed: 2631601
Change-Id: I2f4db99ccfefb2516e98ea5150a2bd5a342819e5
Signed-off-by: default avatarAlok Chauhan <alokc@codeaurora.org>
parent 812586fe
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