numam-dpdk/lib/librte_efd
Yunjian Wang c2402fcaf9 efd: fix tailq entry leak in error path
In rte_efd_create() allocated memory for tailq entry, we should
free it when error happens, otherwise it will lead to memory leak.

Fixes: 56b6ef874f ("efd: new Elastic Flow Distributor library")
Cc: stable@dpdk.org

Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Acked-by: Yipeng Wang <yipeng1.wang@intel.com>
2020-10-22 22:07:15 +02:00
..
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
rte_efd_arm64.h lib: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
rte_efd_x86.h build: remove deprecated cpuflag macros 2020-09-25 11:13:57 +02:00
rte_efd.c efd: fix tailq entry leak in error path 2020-10-22 22:07:15 +02:00
rte_efd.h doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00