Yunjian Wang 52b49ea06f ethdev: fix Rx queue telemetry memory leak on failure
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: stable@dpdk.org

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2022-01-25 10:58:32 +01:00
..
2022-01-11 12:16:53 +01:00
2021-11-26 11:28:34 +01:00
2022-01-11 12:16:53 +01:00
2021-08-17 08:37:52 +02:00
2021-10-22 23:32:00 +02:00
2021-11-26 11:28:34 +01:00
2021-11-26 11:28:34 +01:00
2022-01-11 12:16:53 +01:00
2021-10-08 14:58:11 +02:00
2021-10-24 13:37:43 +02:00
2021-11-26 11:28:34 +01:00
2021-09-30 17:38:13 +02:00
2021-08-17 08:37:52 +02:00
2021-10-25 19:08:16 +02:00
2022-01-11 12:16:53 +01:00
2021-08-17 08:37:52 +02:00
2022-01-11 12:16:53 +01:00
2021-11-16 17:57:09 +01:00
2021-10-31 23:25:02 +01:00
2021-11-17 10:29:14 +01:00
2021-11-26 11:28:34 +01:00
2021-11-16 17:57:09 +01:00
2021-11-16 17:57:09 +01:00
2022-01-11 12:16:53 +01:00
2021-08-17 08:37:52 +02:00
2022-01-21 06:09:00 -05:00