[PATCH 09/10] fabrics: fix some memory leaks

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Mon Mar 8 07:13:44 GMT 2021


On 3/5/21 16:36, mwilck at suse.com wrote:
> From: Martin Wilck <mwilck at suse.com>
>
> None of these are critical for "nvme discover" or "nvme connect-all".
> Still, silencing valgrind's error messages by fixing them gives some
> peace of mind, and a longer-running program like the forthcomint
> nvme monitor, leak checks are more important.
>
> Use the previously introduced cleanup macros for this purpose.
>
> Signed-off-by: Martin Wilck <mwilck at suse.com>
Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>



More information about the Linux-nvme mailing list