Skip to content
Commit a61d2655 authored by Irvin Cote's avatar Irvin Cote Committed by Christoph Hellwig
Browse files

nvme-pci: fixing memory leak in probe teardown path



In case the nvme_probe teardown path is triggered the ctrl ref count does
not reach 0 thus creating a memory leak upon failure of nvme_probe.

Signed-off-by: default avatarIrvin Cote <irvincoteg@gmail.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 37f0dc2e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment