aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-12-06 12:17:31 +0400
committerGreg Kroah-Hartman <[email protected]>2022-12-08 16:43:34 +0100
commit97a48da1619ba6bd42a0e5da0a03aa490a9496b1 (patch)
tree977fd2e02fe21b127cddad0fbb5f6059d64d15fd /lib/mpi/mpiutil.c
parentdc18a4c7b3bd447cef2395deeb1f6ac16dfaca0e (diff)
usb: dwc3: qcom: Fix memory leak in dwc3_qcom_interconnect_init
of_icc_get() alloc resources for path handle, we should release it when not need anymore. Like the release in dwc3_qcom_interconnect_exit() function. Add icc_put() in error handling to fix this. Fixes: bea46b981515 ("usb: dwc3: qcom: Add interconnect support in dwc3 driver") Cc: stable <[email protected]> Acked-by: Thinh Nguyen <[email protected]> Signed-off-by: Miaoqian Lin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions