diff options
-rw-r--r-- | src/vcl/vcl_private.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/vcl_private.c b/src/vcl/vcl_private.c index 3b30d1753c2..d6d7381e40b 100644 --- a/src/vcl/vcl_private.c +++ b/src/vcl/vcl_private.c @@ -334,7 +334,7 @@ vcl_segment_attach (u64 segment_handle, char *name, ssvm_segment_type_t type, clib_rwlock_writer_unlock (&vcm->segment_table_lock); - vec_reset_length (a->new_segment_indices); + vec_free (a->new_segment_indices); return 0; } |