aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorTom St Denis <[email protected]>2016-08-25 16:16:24 +0000
committerAlex Deucher <[email protected]>2016-08-25 18:02:39 +0000
commitcc945ce3ab563d7dd7657510e1990f6f606c9b46 (patch)
tree6d48b546917f12408f92bb2565f8893d64f7eac7 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amdgpu: refine uvd gate logic for CI. (diff)
downloadkernel-cc945ce3ab563d7dd7657510e1990f6f606c9b46.tar.gz
kernel-cc945ce3ab563d7dd7657510e1990f6f606c9b46.zip
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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions