From f38687b8f5884b2912d57a4f3b893cce28560551 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Sat, 16 Dec 2023 09:18:41 -0500 Subject: 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 --- nhrpd/nhrp_main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nhrpd') 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); -- cgit v1.2.3