commit | a606d18ca3a013fc232942d41b2957e3c2a19dbf | [log] [tgz] |
---|---|---|
author | Harsh Shah <harshs@codeaurora.org> | Fri Nov 10 00:15:58 2017 -0800 |
committer | Karthik Anantha Ram <kartanan@codeaurora.org> | Tue Nov 14 10:52:45 2017 -0800 |
tree | 951a2f7480317a8cd5de996e193d594700c5856c | |
parent | 902b826c6728dff98506238317ed0146365c17a5 [diff] |
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: Harsh Shah <harshs@codeaurora.org>