pci: fix memory leak when detaching device
authorYangchao Zhou <zhouyates@gmail.com>
Thu, 29 Sep 2016 01:41:10 +0000 (09:41 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 4 Oct 2016 08:05:51 +0000 (10:05 +0200)
commit6edfa69ba6fe86e9f59c76d0bb3732c558aeedc9
tree6461f8c6464c1cce84f8b7d128ee204b01f8528e
parent13a1317d3ba72185bab4fb4b225c9d67dff599f9
pci: fix memory leak when detaching device

Fixes: dbe6b4b61b0e ("pci: probe or close device")

Signed-off-by: Yangchao Zhou <zhouyates@gmail.com>
Acked-by: David Marchand <david.marchand@6wind.com>
lib/librte_eal/common/eal_common_pci.c