Skip to content
Commit 4596e752 authored by James Smart's avatar James Smart Committed by Christoph Hellwig
Browse files

nvme-fc: remove double put reference if admin connect fails



There are two put references in the failure case of initial
create_association. The first put actually frees the controller, thus the
second put references freed memory.

Remove the unnecessary 2nd put.

Signed-off-by: default avatarJames Smart <james.smart@broadcom.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent b224f613
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment