On Tue, 2 Dec 2025 11:57:20 +0200
Shani Peretz <[email protected]> wrote:
> The convert_pci_address_format() function was leaking memory because
> rte_devargs_parse() allocates memory internally via strdup(), but the
> function never called rte_devargs_reset() to free it.
>
> Add a cleanup label to ensure rte_devargs_reset() is called on all
> return paths.
>
> Fixes: 12c2405989f6 ("app/testpmd: canonicalize short PCI name format")
> Fixes: acbff64ea5b1 ("app/testpmd: fix devargs format in port attach")
> Cc: [email protected]
>
> Signed-off-by: Shani Peretz <[email protected]>
Queued to next-net for 26.03