summaryrefslogtreecommitdiffstats
path: root/src/svm
diff options
context:
space:
mode:
Diffstat (limited to 'src/svm')
-rw-r--r--src/svm/fifo_segment.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/svm/fifo_segment.c b/src/svm/fifo_segment.c
index 5408567b8f4..986778dfe82 100644
--- a/src/svm/fifo_segment.c
+++ b/src/svm/fifo_segment.c
@@ -811,6 +811,8 @@ fifo_segment_cleanup (fifo_segment_t *fs)
for (slice_index = 0; slice_index < fs->n_slices; slice_index++)
clib_mem_bulk_destroy (fs->slices[slice_index].fifos);
+ vec_free (fs->slices);
+
vec_foreach (fs->mqs, mq)
vec_free (mq->rings);