aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorAnson Jacob <[email protected]>2021-08-13 21:11:51 +0000
committerAlex Deucher <[email protected]>2021-08-31 18:19:00 +0000
commit03388a347fe7cf7c3bdf68b0823ba316d177d470 (patch)
tree1d10c3a28fbae14552d062a189cc88f719a93f3c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/amdgpu/swsmu: fix spelling mistake "minimun" -> "minimum" (diff)
downloadkernel-03388a347fe7cf7c3bdf68b0823ba316d177d470.tar.gz
kernel-03388a347fe7cf7c3bdf68b0823ba316d177d470.zip
drm/amd/display: Fix memory leak reported by coverity
Free memory allocated if any of the previous allocations failed. >>> CID 1487129: Resource leaks (RESOURCE_LEAK) >>> Variable "vpg" going out of scope leaks the storage it points to. Addresses-Coverity-ID: 1487129: ("Resource leaks") Reviewed-by: Aric Cyr <[email protected]> Acked-by: Mikita Lipski <[email protected]> Signed-off-by: Anson Jacob <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions