[dpdk-stable] [dpdk-dev] [PATCH v2] bus/fslmc: fix memory leak in secondary process

David Marchand david.marchand at redhat.com
Tue Jul 21 20:52:12 CEST 2020


On Fri, Jul 17, 2020 at 12:50 PM wangyunjian <wangyunjian at huawei.com> wrote:
>
> From: Yunjian Wang <wangyunjian at huawei.com>
>
> In fslmc_process_mcp(), we allocate memory for 'dev_name' but not
> released before return in secondary process. And it is not used
> since commit a69f79300262 ("bus/fslmc: support multi VFIO group"),
> so it can be removed.
>
> Fixes: e55d0494ab98 ("bus/fslmc: support secondary process")
> Cc: stable at dpdk.org
>
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>

Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>

Applied, thanks.

-- 
David Marchand



More information about the stable mailing list