summaryrefslogtreecommitdiffstats
path: root/src/vlib/stats
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib/stats')
-rw-r--r--src/vlib/stats/stats.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/stats/stats.c b/src/vlib/stats/stats.c
index ee657089fd2..e3a1a8a04d6 100644
--- a/src/vlib/stats/stats.c
+++ b/src/vlib/stats/stats.c
@@ -341,6 +341,7 @@ vlib_stats_set_string_vector (vlib_stats_string_vector_t *svp,
va_start (va, fmt);
s = va_format (s, fmt, &va);
va_end (va);
+ vec_add1 (s, 0);
e->string_vector[vector_index] = s;