summaryrefslogtreecommitdiffstats
path: root/src/svm/fifo_segment.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-02-26 19:19:11 -0800
committerFlorin Coras <florin.coras@gmail.com>2021-02-28 01:34:40 +0000
commitf1af21c9d7c2d4f4e138b5dd0dd40e7f881b46ae (patch)
treed69cf08bd225caf75df617d50538a5174e27a912 /src/svm/fifo_segment.c
parent3ec024c2d259ad6423dcc83da01d782acf6b7046 (diff)
session svm: segment manager and fifo segment leaks
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I4e00dd7f8ce1e56092dde9a073decae62d5475de
Diffstat (limited to 'src/svm/fifo_segment.c')
-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);