aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorYi Yang <[email protected]>2022-11-18 01:15:34 +0000
committerMasami Hiramatsu (Google) <[email protected]>2022-11-18 01:15:34 +0000
commit0a1ebe35cb3b7aa1f4b26b37e2a0b9ae68dc4ffb (patch)
tree5c75101639b1b9dbef0dd42fad838504a48fe19f /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parenttracing/eprobe: Fix memory leak of filter string (diff)
downloadkernel-0a1ebe35cb3b7aa1f4b26b37e2a0b9ae68dc4ffb.tar.gz
kernel-0a1ebe35cb3b7aa1f4b26b37e2a0b9ae68dc4ffb.zip
rethook: fix a potential memleak in rethook_alloc()
In rethook_alloc(), the variable rh is not freed or passed out if handler is NULL, which could lead to a memleak, fix it. Link: https://lore.kernel.org/all/[email protected]/ [Masami: Add "rethook:" tag to the title.] Fixes: 54ecbe6f1ed5 ("rethook: Add a generic return hook") Cc: [email protected] Signed-off-by: Yi Yang <[email protected]> Acke-by: Masami Hiramatsu (Google) <[email protected]> Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions