Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vcl: segment index leak on attach
[vpp.git]
/
src
/
vcl
/
vcl_private.c
diff --git
a/src/vcl/vcl_private.c
b/src/vcl/vcl_private.c
index
3b30d17
..
d6d7381
100644
(file)
--- 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;
}