aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-06-24 16:39:59 +0000
committerThomas Hellstrom <[email protected]>2019-08-08 09:22:54 +0000
commit6b7c3b86f0b63134b2ab56508921a0853ffa687a (patch)
tree2d1c63d57abcf7ae63b81a4a5b08024cda989993 /tools/perf/scripts/python/sctop.py
parentMerge tag 'drm-fixes-5.3-2019-08-07' of git://people.freedesktop.org/~agd5f/l... (diff)
downloadkernel-6b7c3b86f0b63134b2ab56508921a0853ffa687a.tar.gz
kernel-6b7c3b86f0b63134b2ab56508921a0853ffa687a.zip
drm/vmwgfx: fix memory leak when too many retries have occurred
Currently when too many retries have occurred there is a memory leak on the allocation for reply on the error return path. Fix this by kfree'ing reply before returning. Addresses-Coverity: ("Resource leak") Fixes: a9cd9c044aa9 ("drm/vmwgfx: Add a check to handle host message failure") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Deepak Rawat <[email protected]> Signed-off-by: Deepak Rawat <[email protected]> Signed-off-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions