Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
3a2cf84
)
session: memory leaks on rule tag hash tables
70/41270/1
author
Steven Luong
<sluong@cisco.com>
Tue, 16 Jul 2024 22:33:35 +0000
(15:33 -0700)
committer
Steven Luong
<sluong@cisco.com>
Tue, 16 Jul 2024 22:35:42 +0000
(15:35 -0700)
Type: fix
Change-Id: Id8542ad74389eca4cc7903cd455f556743a5e0cf
Signed-off-by: Steven Luong <sluong@cisco.com>
src/vnet/session/session_rules_table.c
patch
|
blob
|
history
diff --git
a/src/vnet/session/session_rules_table.c
b/src/vnet/session/session_rules_table.c
index
70a702c
..
d610b37
100644
(file)
--- 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