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.


-- 
David Marchand

Reply via email to