examples/l2fwd-keepalive: fix memory leak
authorRemy Horton <remy.horton@intel.com>
Mon, 20 Jun 2016 15:23:07 +0000 (16:23 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 21 Jun 2016 13:56:39 +0000 (15:56 +0200)
commit9f2bb5ce8a275d84146a42d13c981b2ea5e39222
tree3b4a575cc5a7de71ebbeffd52b458aecae46da7c
parent21b5bd0d66cfc05e70463fdbe6dc00404860ca34
examples/l2fwd-keepalive: fix memory leak

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

Coverity issue: 127349

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

Signed-off-by: Remy Horton <remy.horton@intel.com>
examples/l2fwd-keepalive/shm.c