summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_dp_mst_topology.c
diff options
context:
space:
mode:
authorTom St Denis <tom.stdenis@amd.com>2016-08-25 12:16:24 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-08-25 14:02:39 -0400
commitcc945ce3ab563d7dd7657510e1990f6f606c9b46 (patch)
tree6d48b546917f12408f92bb2565f8893d64f7eac7 /drivers/gpu/drm/drm_dp_mst_topology.c
parentc08770eb8a442430420efd826981bbc3b2a1e341 (diff)
drm/amd/amdgpu: Fix memleak in cz_parse_power_table()
If one of the entries fails to be allocated then free all of the previous entries before freeing the array which holds their pointers. Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/drm_dp_mst_topology.c')
0 files changed, 0 insertions, 0 deletions