summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>2018-02-20 15:46:09 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-03-14 15:08:41 -0500
commit8c45c5db842f9fdfd292b18dcad1b245dd7e1948 (patch)
treef7be82dd78806bbb3aa1671c0b3dd045307ae0ab /tools/perf/scripts/python/export-to-postgresql.py
parentd179664a2a4f5a06edabf7171bcd65a9e33bcf15 (diff)
drm/amd/display: Fix memleaks when atomic check fails.
While checking plane states for updates during atomic check, we create dc_plane_states in preparation. These dc states should be freed if something errors. Although the input transfer function is also freed by dc_plane_state_release(), we should free it (on error) under the same scope as where it is created. Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions