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:
e494ad1
)
vppinfra: fix the memory leak while doing clib_bihash_free
47/34547/3
author
Han Wu
<wuhan9084@163.com>
Fri, 19 Nov 2021 09:45:40 +0000
(17:45 +0800)
committer
Damjan Marion
<dmarion@me.com>
Mon, 22 Nov 2021 10:06:05 +0000
(10:06 +0000)
Type: fix
Signed-off-by: Han Wu <wuhan9084@163.com>
Change-Id: I6ad3c313dcab5ed193c135676c1cebd0a141fea1
src/vppinfra/bihash_template.c
patch
|
blob
|
history
diff --git
a/src/vppinfra/bihash_template.c
b/src/vppinfra/bihash_template.c
index
a6fa626
..
1c9f3b8
100644
(file)
--- a/
src/vppinfra/bihash_template.c
+++ b/
src/vppinfra/bihash_template.c
@@
-426,6
+426,7
@@
void BV (clib_bihash_free) (BVT (clib_bihash) * h)
vec_free (h->working_copies);
vec_free (h->working_copy_lengths);
+ clib_mem_free ((void *) h->alloc_lock);
#if BIHASH_32_64_SVM == 0
vec_free (h->freelists);
#else