bus/fslmc: fix memory leak and cleanup
authorShreyansh Jain <shreyansh.jain@nxp.com>
Wed, 9 May 2018 15:27:51 +0000 (20:57 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 13 May 2018 23:01:03 +0000 (01:01 +0200)
commit58b7c9ceed1efced68d4fc7106915fab3b467e47
treebc8cd5b56a17dee703f4e801f927b29a30a3abf2
parentfe33fe37fd8b63e140e9ed91443dc44fa62472d4
bus/fslmc: fix memory leak and cleanup

Coverity issue: 268327
Fixes: 828d51d8fc3e ("bus/fslmc: refactor scan and probe functions")
Cc: stable@dpdk.org
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/fslmc/fslmc_vfio.c