aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMiaoqian Lin <[email protected]>2022-12-07 10:59:22 +0400
committerAbhinav Kumar <[email protected]>2022-12-27 17:59:05 -0800
commit45dac1352b55b1d8cb17f218936b2bc2bc1fb4ee (patch)
tree2bb7ccdc7a4837c819340a30522be16c7c47bc41 /scripts/generate_rust_analyzer.py
parente5266ca38294c6eba48f5c9cd3d0402d619d7c05 (diff)
drm/msm/dpu: Fix memory leak in msm_mdss_parse_data_bus_icc_path
of_icc_get() alloc resources for path1, we should release it when not need anymore. Early return when IS_ERR_OR_NULL(path0) may leak path1. Defer getting path1 to fix this. Fixes: b9364eed9232 ("drm/msm/dpu: Move min BW request and full BW disable back to mdss") Signed-off-by: Miaoqian Lin <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> Reviewed-by: Abhinav Kumar <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/514264/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abhinav Kumar <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions