Re: [PATCH 2/2] nvme-loop: Fix memory leak in nvme_loop_create_ctrl()

From: Chaitanya Kulkarni
Date: Wed May 19 2021 - 00:49:32 EST




Sent from my iPhone

> On May 18, 2021, at 9:35 PM, Wu Bo <wubo40@xxxxxxxxxx> wrote:
>
> When creating loop ctrl in nvme_loop_create_ctrl(), if nvme_init_ctrl()
> returns fails, the loop ctrl should be freed before
> jumps to the "out" label.
>
> Fixes: 3a85a5de29ea7 ("nvme-loop: add a NVMe loopback host driver")

Please make sure comit logs lines filled up 72 char and
Commit hash is 12 digit.

See the commit logs in the tree to get the better idea.