diff options
| author | Ewan D. Milne <[email protected]> | 2017-04-24 13:24:16 -0400 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2017-04-25 20:00:59 +0200 |
| commit | de41447aac034c4acc8d9d1ddbdcb7ce4e8a3f6f (patch) | |
| tree | bef80837e850eee8e11f7a695e2e8cb212d171b6 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | bbe3012b73b592dfe5f4340a14373840f51887b6 (diff) | |
nvme-fc: avoid memory corruption caused by calling nvmf_free_options() twice
Do not call nvmf_free_options() from the nvme_fc_ctlr destructor if
nvme_fc_create_ctrl() returns an error, because nvmf_create_ctrl()
frees the options when an error is returned.
Signed-off-by: Ewan D. Milne <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions