app/test: fix mempool freeing
authorSantosh Shukla <santosh.shukla@caviumnetworks.com>
Thu, 21 Jul 2016 11:49:47 +0000 (17:19 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 21 Jul 2016 21:54:10 +0000 (23:54 +0200)
commitcdc34f8721610a0807377a014cb5b49f43b3bf5e
tree248e7ea7a7f019cc38708f9b508cda2fd54adfdf
parent69238e3cbedbf6dfd9fd65c1ef8fe12d0d5aabf9
app/test: fix mempool freeing

test_mempool func not using pointer variable 'mp_ext' and incorrectly
freed. So removing ptr var. Now freeing mp_stack var.

Fixes: ea151eb48a04 ("app/test: migrate custom mempool handler to stack handler")

Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
app/test/test_mempool.c