diff options
| author | Sun Ke <[email protected]> | 2019-11-19 06:09:11 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-11-19 16:23:26 +0000 |
| commit | dff10bbea4be47bdb615b036c834a275b7c68133 (patch) | |
| tree | 6b8fb7e10bc91eb1a4a828e66eaa52e3039682a4 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
| parent | rsxx: add missed destroy_workqueue calls in remove (diff) | |
| download | kernel-dff10bbea4be47bdb615b036c834a275b7c68133.tar.gz kernel-dff10bbea4be47bdb615b036c834a275b7c68133.zip | |
nbd:fix memory leak in nbd_get_socket()
Before returning NULL, put the sock first.
Cc: [email protected]
Fixes: cf1b2326b734 ("nbd: verify socket is supported during setup")
Reviewed-by: Josef Bacik <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Signed-off-by: Sun Ke <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions
