Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
stats: memory leak with per-node-counters on
[vpp.git]
/
src
/
vpp
/
stats
/
stat_segment.c
diff --git
a/src/vpp/stats/stat_segment.c
b/src/vpp/stats/stat_segment.c
index
bf97050
..
bb533d1
100644
(file)
--- a/
src/vpp/stats/stat_segment.c
+++ b/
src/vpp/stats/stat_segment.c
@@
-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