bus/dpaa: fix freeing in FMAN interface destructor
if was allocated with rte_malloc, free shall be equivalent.
Fixes: 4762b3d419
("bus/dpaa: delay fman device list to bus probe")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
This commit is contained in:
parent
b39c3539e7
commit
5ddcf3de6b
@ -50,7 +50,7 @@ if_destructor(struct __fman_if *__if)
|
||||
free(bp);
|
||||
}
|
||||
cleanup:
|
||||
free(__if);
|
||||
rte_free(__if);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user