diff options
| author | Hersen Wu <[email protected]> | 2024-04-24 20:32:53 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-02 16:18:17 -0400 |
| commit | 52cbcf980509e6190740dd1e2a1a437e8fb8101b (patch) | |
| tree | 56c7def59673d28cd89604943e83222c02465690 /tools/perf/scripts/python/flamegraph.py | |
| parent | fa71face755e27dc44bc296416ebdf2c67163316 (diff) | |
drm/amd/display: Release state memory if amdgpu_dm_create_color_properties fail
[Why]
Coverity reports RESOURCE_LEAK warning. State memory
is not released if dm_create_color_properties fail.
[How]
Call kfree(state) before return.
Reviewed-by: Alex Hung <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Acked-by: Tom Chung <[email protected]>
Signed-off-by: Hersen Wu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions