diff options
| author | Hersen Wu <[email protected]> | 2024-04-24 20:18:30 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-02 16:18:18 -0400 |
| commit | 674704a5dabe4a434645fdd11e35437f4e06dfc4 (patch) | |
| tree | cb8442b7ccca4b297fb2e625ffe2da685d38663b /tools/perf/scripts/python/netdev-times.py | |
| parent | ca46da75cab99381b8c9f181de50a8022c2862c8 (diff) | |
drm/amd/display: Release clck_src memory if clk_src_construct fails
[Why]
Coverity reports RESOURCE_LEAK for some implemenations
of clock_source_create. Do not release memory of clk_src
if contructor fails.
[How]
Free clk_src if contructor fails.
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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions