From 8a96c6d0e71428df0ea98e52c5e8f8e1318adc0d Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Mon, 21 Mar 2022 15:06:57 +0100 Subject: vppinfra: use clib_mem_alloc Type: refactor Change-Id: I26a2a410f8f4070d10696f796d5887842cad3916 Signed-off-by: Damjan Marion --- src/plugins/srv6-ad-flow/ad-flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/srv6-ad-flow') diff --git a/src/plugins/srv6-ad-flow/ad-flow.c b/src/plugins/srv6-ad-flow/ad-flow.c index fd9706dabe1..56a7f643a00 100644 --- a/src/plugins/srv6-ad-flow/ad-flow.c +++ b/src/plugins/srv6-ad-flow/ad-flow.c @@ -366,7 +366,7 @@ unformat_srv6_ad_flow_localsid (unformat_input_t *input, va_list *args) } /* Allocate and initialize memory block for local SID parameters */ - ls_mem = clib_mem_alloc_aligned_at_offset (sizeof *ls_mem, 0, 0, 1); + ls_mem = clib_mem_alloc (sizeof *ls_mem); clib_memset (ls_mem, 0, sizeof *ls_mem); *plugin_mem_p = ls_mem; -- cgit 1.2.3-korg