stats: memory leak with per-node-counters on
[vpp.git] / src / vpp / stats / stat_segment.c
index bf97050..bb533d1 100644 (file)
@@ -527,7 +527,10 @@ update_node_counters (stat_segment_main_t * sm)
          c[n->index] =
            n->stats_total.suspends - n->stats_last_clear.suspends;
        }
+      vec_free (node_dups[j]);
     }
+  vec_free (node_dups);
+  vec_free (stat_vms);
 }
 
 static void