aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2023-04-20 14:12:01 -0700
committerDave Barach <vpp@barachs.net>2023-04-20 22:33:08 +0000
commit9f1ae220d0327136013f58cc12aa94cf9f0ba09a (patch)
tree92a7d0bad69c732afeba79a284807ff2ac302eea
parent5b32d3a13bc66b884bbf25f1409174ed34a8adc7 (diff)
session svm: fix mq cleanup
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I8519bcd76a0ade2f24b62bf69f6a103379639cb7
-rw-r--r--src/svm/fifo_segment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svm/fifo_segment.c b/src/svm/fifo_segment.c
index c2ba6c0eb28..d5f62913082 100644
--- a/src/svm/fifo_segment.c
+++ b/src/svm/fifo_segment.c
@@ -836,7 +836,7 @@ fifo_segment_cleanup (fifo_segment_t *fs)
vec_free (fs->slices);
- vec_foreach (fs->mqs, mq)
+ vec_foreach (mq, fs->mqs)
svm_msg_q_cleanup (mq);
vec_free (fs->mqs);