aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/fib
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2021-12-15 13:27:53 -0800
committerNeale Ranns <neale@graphiant.com>2022-01-09 13:43:50 +0000
commit221be7c03f8daf5b9c00b2509ebbf2c6e7e6232d (patch)
tree59339ad44acede89b05d3e6d2dc853b0773e9887 /src/vnet/fib
parent6815bc3d8b966a62e46cd1dac3e357f20019999c (diff)
fib: multiple memory leaks upon deleting a VRF table
fib_table->ft_locks name string for parsing the ip table add|del name <tag> command path list for ip4_specials in mfib mfib->fib_entry_by_dst_address[0..32] mfib entry path_ext, msrc->mfes_exts Type: fix Signed-off-by: Steven Luong <sluong@cisco.com> Change-Id: Ia1e0cac577a73608ee1e4b1664b60a66322e81ce
Diffstat (limited to 'src/vnet/fib')
-rw-r--r--src/vnet/fib/ip4_fib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/fib/ip4_fib.c b/src/vnet/fib/ip4_fib.c
index 2fa5d7e00ca..8e580a54716 100644
--- a/src/vnet/fib/ip4_fib.c
+++ b/src/vnet/fib/ip4_fib.c
@@ -216,6 +216,7 @@ ip4_fib_table_destroy (u32 fib_index)
hash_unset (ip4_main.fib_index_by_table_id, fib_table->ft_table_id);
}
+ vec_free (fib_table->ft_locks);
vec_free(fib_table->ft_src_route_counts);
ip4_fib_table_free(v4_fib);