diff options
author | Steven Luong <sluong@cisco.com> | 2024-07-16 15:33:35 -0700 |
---|---|---|
committer | Steven Luong <sluong@cisco.com> | 2024-07-16 15:35:42 -0700 |
commit | d1aeac5b7f35466b6b95f3ff1479ef544b484c57 (patch) | |
tree | 900fa61725b7fdbbaa9b433506f7bc88f42ea4ff | |
parent | 3a2cf84fa5d364f45dc354e23c3dd09b12cba9a8 (diff) |
session: memory leaks on rule tag hash tables
Type: fix
Change-Id: Id8542ad74389eca4cc7903cd455f556743a5e0cf
Signed-off-by: Steven Luong <sluong@cisco.com>
-rw-r--r-- | src/vnet/session/session_rules_table.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |