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

David Marchand david.marchand at redhat.com
Fri Jul 17 11:20:40 CEST 2020


On Thu, Jul 9, 2020 at 12:40 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.

dev_name is not used anymore since a69f79300262 ("bus/fslmc: support
multi VFIO group")
We can remove it entirely in this function.


-- 
David Marchand



More information about the stable mailing list