summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2024-07-16 14:23:41 -0700
committerFlorin Coras <florin.coras@gmail.com>2024-07-17 07:29:32 +0000
commit99213e0836aad04a1717e26e87d3830fe71e7f9f (patch)
tree24efde8dff19afe5c158df1af0e7ab497da20c22 /src/vnet
parentd1aeac5b7f35466b6b95f3ff1479ef544b484c57 (diff)
session: memory leak on rule tag
Type: fix Change-Id: If07a6a420d467e6305f166ed250f84befe9f983d Signed-off-by: Steven Luong <sluong@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/session/session_rules_table.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session_rules_table.c b/src/vnet/session/session_rules_table.c
index d610b37e839..d15df48d7b5 100644
--- a/src/vnet/session/session_rules_table.c
+++ b/src/vnet/session/session_rules_table.c
@@ -75,6 +75,7 @@ session_rules_table_del_tag (session_rules_table_t * srt, u8 * tag, u8 is_ip4)
ASSERT (rt);
hash_unset_mem (srt->rules_by_tag, tag);
hash_unset (srt->tags_by_rules, rti_key);
+ vec_free (rt->tag);
pool_put (srt->rule_tags, rt);
}