summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
authorCorey Siltala <csiltala@atcorp.com>2024-11-26 17:04:14 +0100
committerCorey Siltala <csiltala@atcorp.com>2024-11-26 17:47:46 +0100
commitd21a993f16dc23df6a1f1a7c81e9f562446437a0 (patch)
tree51b9e8963ed7e3b627cd8bd843dbd0fe2ddab168 /pimd
parentMerge pull request #17501 from opensourcerouting/fix/gr_peer-groups (diff)
downloadfrr-d21a993f16dc23df6a1f1a7c81e9f562446437a0.tar.xz
frr-d21a993f16dc23df6a1f1a7c81e9f562446437a0.zip
pimd: Fix access-list memory leak in pimd
Reset access-lists in pimd on terminate Signed-off-by: Corey Siltala <csiltala@atcorp.com>
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pimd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pimd.c b/pimd/pimd.c
index a390378a5..c1de58550 100644
--- a/pimd/pimd.c
+++ b/pimd/pimd.c
@@ -17,6 +17,7 @@
#include "vrf.h"
#include "lib_errors.h"
#include "bfd.h"
+#include "filter.h"
#include "pimd.h"
#if PIM_IPV == 4
@@ -147,6 +148,7 @@ void pim_terminate(void)
prefix_list_add_hook(NULL);
prefix_list_delete_hook(NULL);
prefix_list_reset();
+ access_list_reset();
pim_vxlan_terminate();
pim_vrf_terminate();