diff options
| author | Chris Park <[email protected]> | 2024-06-28 15:09:06 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-07-23 17:07:11 -0400 |
| commit | 892abca6877a96c9123bb1c010cafccdf8ca1b75 (patch) | |
| tree | a5d63ac0fc7a1a77a2549a5eb43c55bf42417c84 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 35ff747c86767937ee1e0ca987545b7eed7a0810 (diff) | |
drm/amd/display: Deallocate DML memory if allocation fails
[Why]
When DC state create DML memory allocation fails, memory is not
deallocated subsequently, resulting in uninitialized structure
that is not NULL.
[How]
Deallocate memory if DML memory allocation fails.
Reviewed-by: Joshua Aberback <[email protected]>
Signed-off-by: Jerry Zuo <[email protected]>
Signed-off-by: Chris Park <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions