mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
nvme-fc: fix module_init (theoretical) error path
If nvmf_register_transport happened to fail (it can't, but theoretically) we leak memory. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
d19eef029d
commit
c0e4a6f594
1 changed files with 10 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue