soc: qcom: Fix module cleanup error in dfc
A use after free was observed from qmi_data_ready. This is due to dfc client freeing the qmi handle before it completes cleanup. We cannot free the client data in the qmi callback function. Fix this by making qmi_handle_release return and then free the qmi handle as it will not be accessed after it. CRs-Fixed: 2272269 Change-Id: Ice9858fe8b08635c074dd314a1e3eeda9eb31de3 Acked-by:Ning Cai <ncai@qti.qualcomm.com> Signed-off-by:
Sean Tranchetti <stranche@codeaurora.org>
Loading
Please register or sign in to comment