net/pcap: fix memory leak
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 30 Jan 2019 01:08:54 +0000 (09:08 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 7 Feb 2019 12:28:53 +0000 (13:28 +0100)
commit9b3d42207c35516b1c62fbdf19da288e5c3d8356
treeba6c421b955ea65c96159adea6eb403794f0c38f
parent62e8a5a8c888ec03e2485248132fd32d3b3c5b60
net/pcap: fix memory leak

Fix potential memory leak due to kvlist not be freed.

Fixes: 0d0dd2d9d8ff ("net/pcap: enable data path for secondary process")
Cc: stable@dpdk.org
Reported-by: Gage Eads <gage.eads@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/pcap/rte_eth_pcap.c