summaryrefslogtreecommitdiffstats
path: root/nhrpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-12-16 15:29:00 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-12-16 15:29:00 +0100
commite7000695342b9cb7717852dc5b526f419b7458a2 (patch)
treea3a6373591c92132308e430e4255159d06f31f3b /nhrpd
parentlib, bgpd, nhrpd: Cleanup memory in lib/resolver on shutdown (diff)
downloadfrr-e7000695342b9cb7717852dc5b526f419b7458a2.tar.xz
frr-e7000695342b9cb7717852dc5b526f419b7458a2.zip
nhrpd: Cleanup a hash on nhrp shutdown
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'nhrpd')
-rw-r--r--nhrpd/nhrp_vc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nhrpd/nhrp_vc.c b/nhrpd/nhrp_vc.c
index 2c3201438..6f3346c95 100644
--- a/nhrpd/nhrp_vc.c
+++ b/nhrpd/nhrp_vc.c
@@ -214,4 +214,5 @@ void nhrp_vc_terminate(void)
{
nhrp_vc_reset();
hash_clean(nhrp_vc_hash, nhrp_vc_free);
+ hash_free(nhrp_vc_hash);
}