Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
d77325c
)
vcl: segment index leak on attach
13/31413/3
author
Florin Coras
<fcoras@cisco.com>
Tue, 23 Feb 2021 16:07:57 +0000
(08:07 -0800)
committer
Dave Barach
<openvpp@barachs.net>
Tue, 23 Feb 2021 21:11:02 +0000
(21:11 +0000)
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: If8840d455f8841264136adb19cc9a2046ba37b11
src/vcl/vcl_private.c
patch
|
blob
|
history
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;
}