git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b39c353
)
bus/dpaa: fix freeing in FMAN interface destructor
author
Hemant Agrawal
<hemant.agrawal@nxp.com>
Mon, 19 Jul 2021 13:59:11 +0000
(19:29 +0530)
committer
Thomas Monjalon
<thomas@monjalon.net>
Fri, 23 Jul 2021 17:15:17 +0000
(19:15 +0200)
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
patch
|
blob
|
history
diff --git
a/drivers/bus/dpaa/base/fman/fman.c
b/drivers/bus/dpaa/base/fman/fman.c
index
692071b
..
a14004d
100644
(file)
--- 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(bp);
}
cleanup:
- free(__if);
+
rte_
free(__if);
}
static int