vppinfra: use clib_mem_alloc
[vpp.git] / src / plugins / srv6-mobile / gtp6_d_di.c
index acebcd6..601db26 100644 (file)
@@ -125,7 +125,7 @@ clb_unformat_srv6_end_m_gtp6_d_di (unformat_input_t * input, va_list * args)
       return 0;
     }
 
-  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;