bus/dpaa: fix resource leak
authorHemant Agrawal <hemant.agrawal@nxp.com>
Mon, 9 Apr 2018 10:22:48 +0000 (15:52 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 11 Apr 2018 22:20:47 +0000 (00:20 +0200)
commit35bb5234defc3d1629e1f24db0ade342b0157e70
tree653b21cfd34f021c4b07fdc3ccc5b380a4590e45
parent5c3fc73e820ac0365ae1c1da5546572ac80e64cf
bus/dpaa: fix resource leak

Coverity issue: 268337
Fixes: 1459585888b5 ("bus/dpaa: fix memory allocation during scan")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/bus/dpaa/base/fman/fman.c