summaryrefslogtreecommitdiffstats
path: root/src/svm/fifo_segment.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-03-30 00:23:54 -0700
committerDamjan Marion <dmarion@me.com>2021-03-30 13:17:42 +0000
commit8c517c8fb44e7003ecdb615bc03163536e24d4d4 (patch)
treef073b3ea507a71b30d97cf42a6c10ee7c4af51af /src/svm/fifo_segment.c
parentf632ab5e3ba1882106975814597a8e39507d8873 (diff)
svm: cleanup mq private data on fifo segment cleanup
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I65373f2cd5a33381da1e51ed7ab7a8b1358cef29
Diffstat (limited to 'src/svm/fifo_segment.c')
-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 986778dfe82..00fb023f3cb 100644
--- a/src/svm/fifo_segment.c
+++ b/src/svm/fifo_segment.c
@@ -814,7 +814,7 @@ fifo_segment_cleanup (fifo_segment_t *fs)
vec_free (fs->slices);
vec_foreach (fs->mqs, mq)
- vec_free (mq->rings);
+ svm_msg_q_cleanup (mq);
vec_free (fs->mqs);
}