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:
fc38603
)
fib: fix memory leak in fib_attached_export_purge
76/38976/2
author
Stanislav Zaikin
<stanislav.zaikin@46labs.com>
Wed, 31 May 2023 12:30:44 +0000
(14:30 +0200)
committer
Dave Wallace
<dwallacelf@gmail.com>
Thu, 1 Jun 2023 18:47:34 +0000
(18:47 +0000)
Type: fix
Change-Id: I879594fcade4e081190e8dfb1dbcfc53e8431edf
Signed-off-by: Stanislav Zaikin <stanislav.zaikin@46labs.com>
(cherry picked from commit
b269def5cba2058c49f58a7fef382e2fc068fdfd
)
src/vnet/fib/fib_attached_export.c
patch
|
blob
|
history
diff --git
a/src/vnet/fib/fib_attached_export.c
b/src/vnet/fib/fib_attached_export.c
index
206d10e
..
c6ba057
100644
(file)
--- a/
src/vnet/fib/fib_attached_export.c
+++ b/
src/vnet/fib/fib_attached_export.c
@@
-378,6
+378,7
@@
fib_attached_export_purge (fib_entry_t *fib_entry)
*/
if (0 == --export->faee_locks)
{
+ vec_free (export->faee_importers);
pool_put(fib_ae_export_pool, export);
fib_entry_delegate_remove(export_entry,
FIB_ENTRY_DELEGATE_ATTACHED_EXPORT);