summaryrefslogtreecommitdiffstats
path: root/nhrpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-12-16 15:18:41 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-12-16 15:18:41 +0100
commitf38687b8f5884b2912d57a4f3b893cce28560551 (patch)
tree2188a80ed19a760ba60b91bc9470462c44263043 /nhrpd
parentMerge pull request #15015 from donaldsharp/test_ospf_suppress_fa_cleanup (diff)
downloadfrr-f38687b8f5884b2912d57a4f3b893cce28560551.tar.xz
frr-f38687b8f5884b2912d57a4f3b893cce28560551.zip
lib, bgpd, nhrpd: Cleanup memory in lib/resolver on shutdown
This memory was not being cleaned up on shutdown. Fix this. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'nhrpd')
-rw-r--r--nhrpd/nhrp_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nhrpd/nhrp_main.c b/nhrpd/nhrp_main.c
index 73af78cbf..983a03282 100644
--- a/nhrpd/nhrp_main.c
+++ b/nhrpd/nhrp_main.c
@@ -92,6 +92,8 @@ static void nhrp_request_stop(void)
nhrp_vc_terminate();
debugf(NHRP_DEBUG_COMMON, "Done.");
+
+ resolver_terminate();
frr_fini();
exit(0);