aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2021-09-11 15:50:22 +0800
committerMaarten Lankhorst <[email protected]>2021-10-06 11:12:29 +0200
commit0b3d4945cc7e7ea1acd52cb06dfa83bfe265b6d5 (patch)
tree00de31bb2011812777f06fb4bde544752acec514 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentbcf34aa5082ee2343574bc3f4d1c126030913e54 (diff)
drm/nouveau/kms/nv50-: fix file release memory leak
When using single_open() for opening, single_release() should be called, otherwise the 'op' allocated in single_open() will be leaked. Fixes: 12885ecbfe62 ("drm/nouveau/kms/nvd9-: Add CRC support") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Yang Yingliang <[email protected]> Reviewed-by: Karol Herbst <[email protected]> Signed-off-by: Karol Herbst <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions