bus/dpaa: fix freeing in FMAN interface destructor
authorHemant Agrawal <hemant.agrawal@nxp.com>
Mon, 19 Jul 2021 13:59:11 +0000 (19:29 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 23 Jul 2021 17:15:17 +0000 (19:15 +0200)
commit5ddcf3de6bc08fa7c14fd1ead86012aa575cf665
treec04b055debc5be8940043c042958cfcfc5584e16
parentb39c3539e7bfa79a2a887d4ec2b76d964b539002
bus/dpaa: fix freeing in FMAN interface destructor

if was allocated with rte_malloc, free shall be equivalent.

Fixes: 4762b3d419c3 ("bus/dpaa: delay fman device list to bus probe")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/dpaa/base/fman/fman.c