Message ID | 20220513025357.52275-8-fengchengwen@huawei.com (mailing list archive) |
---|---|
State | New |
Delegated to: | Andrew Rybchenko |
Headers | show |
Series | bugfix for ethdev telemetry | expand |
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c index 78192c26f7..1ae686a7aa 100644 --- a/lib/ethdev/rte_ethdev.c +++ b/lib/ethdev/rte_ethdev.c @@ -5580,6 +5580,7 @@ eth_dev_handle_port_xstats(const char *cmd __rte_unused, for (i = 0; i < num_xstats; i++) rte_tel_data_add_dict_u64(d, xstat_names[i].name, eth_xstats[i].value); + free(eth_xstats); return 0; }