Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
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