Re: [dpdk-dev] [PATCH] net/fm10k: fix memory leak when Tx thresh check fails

2020-10-07 Thread Zhang, Qi Z
...@huawei.com; > > xudin...@huawei.com; Yunjian Wang ; > > sta...@dpdk.org > > Subject: [dpdk-dev] [PATCH] net/fm10k: fix memory leak when Tx thresh > > check fails > > > > From: Yunjian Wang > > > > In fm10k_tx_queue_setup(), we allocate memory for the queue

Re: [dpdk-dev] [PATCH] net/fm10k: fix memory leak when Tx thresh check fails

2020-10-07 Thread Wang, Xiao W
dpdk-dev] [PATCH] net/fm10k: fix memory leak when Tx thresh > check fails > > From: Yunjian Wang > > In fm10k_tx_queue_setup(), we allocate memory for the queue > structure but not released when Tx thresh check fails. > > Fixes: 98068e0e044e ("fm10k: add Tx queue

[dpdk-dev] [PATCH] net/fm10k: fix memory leak when Tx thresh check fails

2020-10-07 Thread wangyunjian
From: Yunjian Wang In fm10k_tx_queue_setup(), we allocate memory for the queue structure but not released when Tx thresh check fails. Fixes: 98068e0e044e ("fm10k: add Tx queue setup/release") Cc: sta...@dpdk.org Signed-off-by: Yunjian Wang --- drivers/net/fm10k/fm10k_ethdev.c | 4 +++- 1 file