On Sat, 2021-10-23 at 08:17 +0200, David Marchand wrote:
> On Wed, Oct 20, 2021 at 5:48 PM Xueming Li <xuemi...@nvidia.com> wrote:
> > +       kvlist = rte_kvargs_parse(args, NULL);
> > +       if (kvlist == NULL) {
> > +               printf("rte_devargs_parse(%s) %s_str: %s not parsed\n",
> > +                      devargs, layer, args);
> > +               return -1;
> > +       }
> > +       if ((int)kvlist->count != n) {
> > +               printf("rte_devargs_parse(%s) %s_str: %s kv number %u, not 
> > %d\n",
> > +                      devargs, layer, args, kvlist->count, n);
> > +               return -1;
> > +       }
> > +       return 0;
> > +}
> 
> Missing some rte_kvargs_free().
> Can you send a fix?

Thanks for checking this out, fix posted:
https://patches.dpdk.org/project/dpdk/patch/20211023121755.169290-1-xuemi...@nvidia.com/


> 
> Thanks.
> 
> 

Reply via email to