diff options
author | Stanislav Zaikin <stanislav.zaikin@46labs.com> | 2023-05-31 14:30:44 +0200 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2023-06-01 18:47:34 +0000 |
commit | b4b65194e36ac3b378c8f5a40694ce1618696384 (patch) | |
tree | 3b118d656f19964815f844ff7c9e5f8169d57cca /src | |
parent | fc38603c0173cf6dceb36f0af212db7a8298d203 (diff) |
fib: fix memory leak in fib_attached_export_purge
Type: fix
Change-Id: I879594fcade4e081190e8dfb1dbcfc53e8431edf
Signed-off-by: Stanislav Zaikin <stanislav.zaikin@46labs.com>
(cherry picked from commit b269def5cba2058c49f58a7fef382e2fc068fdfd)
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/fib/fib_attached_export.c | 1 |
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); |