Skip to content
Commit a606d18c authored by Harsh Shah's avatar Harsh Shah Committed by Karthik Anantha Ram
Browse files

msm: camera: crm: Clean up the handle struct on unlink



When unlink is called, struct handle needs to be cleaned up
completely. Only state is changed, but it still currently
holds the ops and priv pointers. The priv pointer can point to
link struct which gets freed in unlink. Hence need to clean
the priv pointer as well.

Change-Id: Icfe50aeec5edddea0605da037ff8099085b7ad0b
Signed-off-by: default avatarHarsh Shah <harshs@codeaurora.org>
parent 902b826c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment