ifpps: release stats on exit
commita5f36f6b0a4c2c6cd879d3e0d10572e86386a4db
authorDaniel Borkmann <dborkman@redhat.com>
Sat, 13 Jul 2013 13:30:28 +0000 (13 15:30 +0200)
committerDaniel Borkmann <dborkman@redhat.com>
Sat, 13 Jul 2013 13:30:51 +0000 (13 15:30 +0200)
tree1526329520952e8c635bd42a22f0efee6b0f72f7
parentaa435eec4cfd1794438ea8593fff0181c70dcebf
ifpps: release stats on exit

The stack trace of valgrind --leak-check=full --show-reachable=yes ifpps \
-lpcd wlan0 showed that at exit members from stats are still reachable.
They have been alloced through stats_alloc, but not freed.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
ifpps.c