stats: memory leak with per-node-counters on
[vpp.git] / src / vpp / stats / stat_segment.c
index 442a750..3f6bbcb 100644 (file)
@@ -515,7 +515,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