diff options
Diffstat (limited to 'src/vppinfra/vec.c')
-rw-r--r-- | src/vppinfra/vec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vppinfra/vec.c b/src/vppinfra/vec.c index 805fdc02b7e..8bd0ec01f42 100644 --- a/src/vppinfra/vec.c +++ b/src/vppinfra/vec.c @@ -83,7 +83,7 @@ _vec_realloc (void *v, uword n_elts, uword elt_sz, uword hdr_sz, uword align, } CLIB_MEM_POISON (p + new_data_size, alloc_size - new_data_size); - _vec_len (v) = n_elts; + _vec_find (v)->len = n_elts; return v; } |