Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vppinfra: use clib_mem_alloc
[vpp.git]
/
src
/
plugins
/
srv6-mobile
/
gtp4_e.c
diff --git
a/src/plugins/srv6-mobile/gtp4_e.c
b/src/plugins/srv6-mobile/gtp4_e.c
index
580619f
..
8efb938
100644
(file)
--- a/
src/plugins/srv6-mobile/gtp4_e.c
+++ b/
src/plugins/srv6-mobile/gtp4_e.c
@@
-113,7
+113,7
@@
clb_unformat_srv6_end_m_gtp4_e (unformat_input_t * input, va_list * args)
if (!config)
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;