pci: fix potential mem leaks
authorDavid Marchand <david.marchand@6wind.com>
Fri, 9 May 2014 13:15:53 +0000 (15:15 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 13 May 2014 11:18:17 +0000 (13:18 +0200)
commit8990aac31de42f6eeef1a4b5594d63df802882de
treebf8d663029cd341157db36d07332b8f86702b380
parent0c3977dd156bbc22e2b64aa7f92de643d33e993a
pci: fix potential mem leaks

Looking at bsd implementation, we can see that there are some potential mem
leaks in linux implementation. Fix them.

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
lib/librte_eal/linuxapp/eal/eal_pci.c