diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/session/mma_template.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/session/mma_template.c b/src/vnet/session/mma_template.c index 4b2770bb756..26a23b2d270 100644 --- a/src/vnet/session/mma_template.c +++ b/src/vnet/session/mma_template.c @@ -67,6 +67,9 @@ RT (mma_rule_free) (RTT (mma_rules_table) * srt, RTT (mma_rule) * rule) void RT (mma_rules_table_free) (RTT (mma_rules_table) * srt) { + RTT (mma_rule) * rule; + + pool_flush (rule, srt->rules, ({})); pool_free (srt->rules); } |