app/testpmd: fix memory leaks after xstats errors
authorRemy Horton <remy.horton@intel.com>
Mon, 20 Jun 2016 15:23:06 +0000 (16:23 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 21 Jun 2016 13:55:11 +0000 (15:55 +0200)
commit21b5bd0d66cfc05e70463fdbe6dc00404860ca34
tree1975abc7f7ccc5cc1f67b341312292671b2b75a3
parent58a4037046ab182009f738a10fc4ae27542bd32c
app/testpmd: fix memory leaks after xstats errors

Fixes memory leaks detected by Coverity. These are due to ephemeral
memory allocations not being freed when errors occur.

Coverity issue: 127348

Fixes: e2aae1c1ced9 ("ethdev: remove name from extended statistic fetch")

Signed-off-by: Remy Horton <remy.horton@intel.com>
app/test-pmd/config.c