crypto/dpaa2_sec: fix free usage for dpsec
authorAkhil Goyal <akhil.goyal@nxp.com>
Wed, 12 Jul 2017 12:34:41 +0000 (18:04 +0530)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 19 Jul 2017 11:10:40 +0000 (14:10 +0300)
commitcfd829387ff8154ec4321f863370371599fc90f1
tree324fc7c35ba1555c82ece6b9f56146c33e7d36cd
parent426dc9e3018dcdb0db9b2c58405d9ee5f28b0b00
crypto/dpaa2_sec: fix free usage for dpsec

dpseci is allocated using rte_calloc() but it is freed
using free(). Fixing it to use rte_free()

Fixes: e5cbdfc53765 ("crypto/dpaa2_sec: add basic operations")
Cc: stable@dpdk.org
Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c