summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_main.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-11-15 20:36:24 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-11-21 18:41:18 +0100
commit88a54b123d68e032f115bc086e0f33087a746254 (patch)
treea000d90938142b34de7965db52123a8c1601b374 /ospf6d/ospf6_main.c
parentbfdd: Free zclient memory on shutdown (diff)
downloadfrr-88a54b123d68e032f115bc086e0f33087a746254.tar.xz
frr-88a54b123d68e032f115bc086e0f33087a746254.zip
*: Cleanup keychain on shutdown
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ospf6d/ospf6_main.c')
-rw-r--r--ospf6d/ospf6_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c
index 2a189f141..b61c8f9a5 100644
--- a/ospf6d/ospf6_main.c
+++ b/ospf6d/ospf6_main.c
@@ -104,7 +104,10 @@ static void __attribute__((noreturn)) ospf6_exit(int status)
}
ospf6_master_delete();
+
frr_fini();
+
+ keychain_terminate();
exit(status);
}