summaryrefslogtreecommitdiffstats
path: root/src/vnet/mfib/mfib_entry.c
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/mfib/mfib_entry.c
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/mfib/mfib_entry.c')
-rw-r--r--src/vnet/mfib/mfib_entry.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/mfib/mfib_entry.c b/src/vnet/mfib/mfib_entry.c
index 8050882d436..20945aa6781 100644
--- a/src/vnet/mfib/mfib_entry.c
+++ b/src/vnet/mfib/mfib_entry.c
@@ -412,6 +412,8 @@ mfib_entry_src_flush (mfib_entry_src_t *msrc)
}));
hash_free(msrc->mfes_itfs);
msrc->mfes_itfs = NULL;
+ hash_free(msrc->mfes_exts);
+ msrc->mfes_exts = NULL;
fib_path_list_unlock(msrc->mfes_pl);
}