[PATCH 1/2] nvme-fabrics: Fix memory leak when parsing host ID option

Sagi Grimberg sagi at grimberg.me
Sun Jan 14 01:27:07 PST 2018


> Thanks for the review.  I don't think the same pattern is there for
> the other options - a pointer to the string is
> stored in opts and freed in nvmf_free_options(). NVMF_OPT_HOST_ID is
> unique in that we don't stash the
> strdup'ed pointer anywhere.

Agreed, thanks Roland,

Reviewed-by: Sagi Grimberg <sagi at grimberg.me>



More information about the Linux-nvme mailing list