From 99213e0836aad04a1717e26e87d3830fe71e7f9f Mon Sep 17 00:00:00 2001 From: Steven Luong Date: Tue, 16 Jul 2024 14:23:41 -0700 Subject: session: memory leak on rule tag Type: fix Change-Id: If07a6a420d467e6305f166ed250f84befe9f983d Signed-off-by: Steven Luong --- src/vnet/session/session_rules_table.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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); } -- cgit 1.2.3-korg