On 1/8/2022 7:51 AM, Yunjian Wang wrote:
In eth_dev_handle_port_info() allocated memory for rxq_state,
we should free it when error happens, otherwise it will lead
to memory leak.

Fixes: 58b43c1ddfd1 ("ethdev: add telemetry endpoint for device info")
Cc: [email protected]

Signed-off-by: Yunjian Wang <[email protected]>

Reviewed-by: Ferruh Yigit <[email protected]>

Applied to dpdk-next-net/main, thanks.

Reply via email to