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

Skip to content
Commit a319b09b authored by Sean Tranchetti's avatar Sean Tranchetti Committed by Subash Abhinov Kasiviswanathan
Browse files

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: default avatarNing Cai <ncai@qti.qualcomm.com>
Signed-off-by: default avatarSean Tranchetti <stranche@codeaurora.org>
parent b9c29f3b
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