From d1aeac5b7f35466b6b95f3ff1479ef544b484c57 Mon Sep 17 00:00:00 2001 From: Steven Luong Date: Tue, 16 Jul 2024 15:33:35 -0700 Subject: session: memory leaks on rule tag hash tables Type: fix Change-Id: Id8542ad74389eca4cc7903cd455f556743a5e0cf Signed-off-by: Steven Luong --- src/vnet/session/session_rules_table.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/vnet/session/session_rules_table.c b/src/vnet/session/session_rules_table.c index 70a702cf55c..d610b37e839 100644 --- a/src/vnet/session/session_rules_table.c +++ b/src/vnet/session/session_rules_table.c @@ -518,6 +518,9 @@ session_rules_table_free (session_rules_table_t *srt) { mma_rules_table_free_16 (&srt->session_rules_tables_16); mma_rules_table_free_40 (&srt->session_rules_tables_40); + + hash_free (srt->tags_by_rules); + hash_free (srt->rules_by_tag); } void -- cgit 1.2.3-korg