aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/fib/fib_attached_export.c
diff options
context:
space:
mode:
authorStanislav Zaikin <stanislav.zaikin@46labs.com>2023-05-31 14:30:44 +0200
committerDave Wallace <dwallacelf@gmail.com>2023-05-31 21:52:29 +0000
commit8340b249974f1787f5930b8a50da5c32ec7a3fc2 (patch)
tree33b53e0acdb42602fe956ac0ad8073d6993abb51 /src/vnet/fib/fib_attached_export.c
parent94a0f57a62856c3bf3e427f6694a5a40f57f8d4d (diff)
fib: fix memory leak in fib_attached_export_purge
Type: fix Change-Id: I879594fcade4e081190e8dfb1dbcfc53e8431edf Signed-off-by: Stanislav Zaikin <stanislav.zaikin@46labs.com>
Diffstat (limited to 'src/vnet/fib/fib_attached_export.c')
-rw-r--r--src/vnet/fib/fib_attached_export.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/fib/fib_attached_export.c b/src/vnet/fib/fib_attached_export.c
index 206d10e7140..c6ba0575a04 100644
--- 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);