From b4b65194e36ac3b378c8f5a40694ce1618696384 Mon Sep 17 00:00:00 2001 From: Stanislav Zaikin Date: Wed, 31 May 2023 14:30:44 +0200 Subject: fib: fix memory leak in fib_attached_export_purge Type: fix Change-Id: I879594fcade4e081190e8dfb1dbcfc53e8431edf Signed-off-by: Stanislav Zaikin (cherry picked from commit b269def5cba2058c49f58a7fef382e2fc068fdfd) --- src/vnet/fib/fib_attached_export.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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); -- cgit 1.2.3-korg