Re: [dpdk-dev] [PATCH] net/softnic: fix memory leak in parsing arguments

2021-07-13 Thread Andrew Rybchenko
@Jasvinder, @Cristian, could you the patch, please. On 7/8/21 11:44 AM, dapengx...@intel.com wrote: > From: Dapeng Yu > > In function pmd_parse_args(), firmware path is duplicated from device > arguments as character string, but is never freed, which cause memory > leak. > > This patch changes

[dpdk-dev] [PATCH] net/softnic: fix memory leak in parsing arguments

2021-07-08 Thread dapengx . yu
From: Dapeng Yu In function pmd_parse_args(), firmware path is duplicated from device arguments as character string, but is never freed, which cause memory leak. This patch changes the type of firmware member of struct pmd_params to character array, to make memory resource release unnecessary, a