aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorAnson Jacob <[email protected]>2021-08-23 13:41:13 -0400
committerAlex Deucher <[email protected]>2021-09-14 15:57:10 -0400
commit7b89bf83181363a84f86da787159ddbbef505b8c (patch)
tree60033bd32f7d5f5512e18247371b5c4e557ab7b4 /tools/perf/scripts/python/mem-phys-addr.py
parentf22268ce0a3f4065cddfb62ac29845b2c07c1c5a (diff)
drm/amd/display: Fix multiple memory leaks reported by coverity
coccinelle patch used: @@ expression enc1,vpg,afmt; @@ - if (!enc1 || !vpg || !afmt) + if (!enc1 || !vpg || !afmt) { + kfree(enc1); + kfree(vpg); + kfree(afmt); return NULL; + } Addresses-Coverity-ID: 1466017: ("Resource leaks") Reviewed-by: Aurabindo Jayamohanan Pillai <[email protected]> Acked-by: Mikita Lipski <[email protected]> Signed-off-by: Anson Jacob <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions