aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c
diff options
context:
space:
mode:
authorAnson Jacob <Anson.Jacob@amd.com>2021-08-13 17:11:51 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-08-31 14:19:00 -0400
commit03388a347fe7cf7c3bdf68b0823ba316d177d470 (patch)
tree1d10c3a28fbae14552d062a189cc88f719a93f3c /drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c
parentdrm/amdgpu/swsmu: fix spelling mistake "minimun" -> "minimum" (diff)
downloadlinux-dev-03388a347fe7cf7c3bdf68b0823ba316d177d470.tar.xz
linux-dev-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 <aric.cyr@amd.com> Acked-by: Mikita Lipski <mikita.lipski@amd.com> Signed-off-by: Anson Jacob <Anson.Jacob@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c')
0 files changed, 0 insertions, 0 deletions