aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session/mma_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/session/mma_template.c')
-rw-r--r--src/vnet/session/mma_template.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vnet/session/mma_template.c b/src/vnet/session/mma_template.c
index ae730e5dbea..4b2770bb756 100644
--- a/src/vnet/session/mma_template.c
+++ b/src/vnet/session/mma_template.c
@@ -65,6 +65,11 @@ RT (mma_rule_free) (RTT (mma_rules_table) * srt, RTT (mma_rule) * rule)
return rule;
}
+void RT (mma_rules_table_free) (RTT (mma_rules_table) * srt)
+{
+ pool_free (srt->rules);
+}
+
RTT (mma_rule) *
RT (mma_rules_table_get_rule) (RTT (mma_rules_table) * srt, u32 srt_index)
{