diff mbox series

[1/7] bus/dpaa: fix to use right type of memory free

Message ID 20210719135917.26241-2-hemant.agrawal@nxp.com (mailing list archive)
State Accepted, archived
Headers show
Series NXP DPAAx fixes and improvements | expand


Context Check Description
ci/checkpatch success coding style OK

Commit Message

Hemant Agrawal July 19, 2021, 1:59 p.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series


diff --git a/drivers/bus/dpaa/base/fman/fman.c b/drivers/bus/dpaa/base/fman/fman.c
index 692071b4b0..a14004d7fc 100644
--- a/drivers/bus/dpaa/base/fman/fman.c
+++ b/drivers/bus/dpaa/base/fman/fman.c
@@ -50,7 +50,7 @@  if_destructor(struct __fman_if *__if)
-	free(__if);
+	rte_free(__if);
 static int