summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vpp/app/stat_client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vpp/app/stat_client.c b/src/vpp/app/stat_client.c
index 0ee78d200af..2bedf6f2d7d 100644
--- a/src/vpp/app/stat_client.c
+++ b/src/vpp/app/stat_client.c
@@ -259,6 +259,9 @@ stat_poll_loop (stat_client_main_t * sm)
switch (n->type)
{
default:
+ vec_free (n->name);
+ vec_free (n->next_nodes);
+ vec_free (n);
continue;
case VLIB_NODE_TYPE_INTERNAL: