efd: fix tail queue leak
authorHari Kumar Vemula <hari.kumarx.vemula@intel.com>
Fri, 18 Jan 2019 07:40:42 +0000 (07:40 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 18 Jan 2019 23:07:52 +0000 (00:07 +0100)
commitc749c032252997cf50cbe3620a7edd30532423af
tree796ec9cd3334fa1e60a43fd37f1c501a73c4d83d
parent959a4ddb7a646f44424a5de838b05940ce0ea790
efd: fix tail queue leak

In rte_efd_create() allocated memory for tail queue entry but
not freed.
Added freeing the tail queue entry.

Fixes: 56b6ef874f80 ("efd: new Elastic Flow Distributor library")
Cc: stable@dpdk.org
Signed-off-by: Hari Kumar Vemula <hari.kumarx.vemula@intel.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
lib/librte_efd/rte_efd.c