mempool/dpaa2: fix freeing bp list
authorHemant Agrawal <hemant.agrawal@nxp.com>
Thu, 22 Jun 2017 12:48:08 +0000 (18:18 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 21 Jul 2017 06:28:22 +0000 (09:28 +0300)
commitf31f7288835afc06171ae43164ffb6e43d263f52
treeca1692da0e27d01844a15a969435d62a0590dfa1
parent6ed4390e5e16ddc836279946591618527cd69544
mempool/dpaa2: fix freeing bp list

The dpaa2_bp_list is being allocated using "rte_malloc",
but the free is done using "free". Fixing it to use
"rte_free".

Fixes: 5dc43d22b5ad ("mempool/dpaa2: add hardware offloaded mempool")
Cc: stable@dpdk.org
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Reviewed-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/mempool/dpaa2/dpaa2_hw_mempool.c