diff options
author | 2021-05-19 13:01:10 +0800 | |
---|---|---|
committer | 2021-05-19 08:33:42 +0200 | |
commit | 03504e3b54cc8118cc26c064e60a0b00c2308708 (patch) | |
tree | a7981c1c11732854f82dfcb3ab23e060857f6410 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvmet: fix memory leak in nvmet_alloc_ctrl() (diff) | |
download | wireguard-linux-03504e3b54cc8118cc26c064e60a0b00c2308708.tar.xz wireguard-linux-03504e3b54cc8118cc26c064e60a0b00c2308708.zip |
nvme-loop: fix memory leak in nvme_loop_create_ctrl()
When creating loop ctrl in nvme_loop_create_ctrl(), if nvme_init_ctrl()
fails, the loop ctrl should be freed before jumping to the "out" label.
Fixes: 3a85a5de29ea ("nvme-loop: add a NVMe loopback host driver")
Signed-off-by: Wu Bo <wubo40@huawei.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions