summaryrefslogtreecommitdiffstats
path: root/pimd/pimd.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-07-16 14:13:21 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-07-16 14:13:21 +0200
commit892c2c4468befae94e602b6f2c7605f028e70d7a (patch)
treeb587ff83ed1d7a40cf7b4ab12f8009fdb0d152a0 /pimd/pimd.c
parentMerge pull request #6701 from deastoe/ospf-area-format (diff)
downloadfrr-892c2c4468befae94e602b6f2c7605f028e70d7a.tar.xz
frr-892c2c4468befae94e602b6f2c7605f028e70d7a.zip
pimd: Cleanup some small memory leaks on exit
We were not properly cleaning up some memory in the pim mlag subsystem. Clean it up on exit. Signed-off-by: Donald Sharp <sharpc@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r--pimd/pimd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pimd.c b/pimd/pimd.c
index 5ccbac32f..6c354a3cc 100644
--- a/pimd/pimd.c
+++ b/pimd/pimd.c
@@ -42,6 +42,7 @@
#include "pim_vxlan.h"
#include "pim_zlookup.h"
#include "pim_zebra.h"
+#include "pim_mlag.h"
const char *const PIM_ALL_SYSTEMS = MCAST_ALL_SYSTEMS;
const char *const PIM_ALL_ROUTERS = MCAST_ALL_ROUTERS;
@@ -109,6 +110,7 @@ void pim_router_init(void)
void pim_router_terminate(void)
{
+ pim_mlag_terminate();
XFREE(MTYPE_ROUTER, router);
}