aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorWu Bo <[email protected]>2021-05-19 05:01:10 +0000
committerChristoph Hellwig <[email protected]>2021-05-19 06:33:42 +0000
commit03504e3b54cc8118cc26c064e60a0b00c2308708 (patch)
treea7981c1c11732854f82dfcb3ab23e060857f6410 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentnvmet: fix memory leak in nvmet_alloc_ctrl() (diff)
downloadkernel-03504e3b54cc8118cc26c064e60a0b00c2308708.tar.gz
kernel-03504e3b54cc8118cc26c064e60a0b00c2308708.zip
nvme-loop: fix memory leak in nvme_loop_create_ctrl()
When creating loop ctrl in nvme_loop_create_ctrl(), if nvme_init_ctrl() fails, the loop ctrl should be freed before jumping to the "out" label. Fixes: 3a85a5de29ea ("nvme-loop: add a NVMe loopback host driver") Signed-off-by: Wu Bo <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions