summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-04-26 08:57:52 +0300
committerGitHub <noreply@github.com>2023-04-26 08:57:52 +0300
commit13c426150fd4699466306d88a917df6493faf9bd (patch)
tree5ed6c5bbb6435ebdedf81e5951b3c131bde22140
parentb38aed324d4ef0892e7a86a8e04a95a6a09d5882 (diff)
parente15ca73e5a780f23b2afef50be674bb366a7b2b1 (diff)
Merge pull request #13368 from Keelan10/nhrpd-memory-leak
nhrpd: Fix nhrpd memory leak
-rw-r--r--nhrpd/nhrp_nhs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nhrpd/nhrp_nhs.c b/nhrpd/nhrp_nhs.c
index b2af0da429..acd3b7df97 100644
--- a/nhrpd/nhrp_nhs.c
+++ b/nhrpd/nhrp_nhs.c
@@ -420,6 +420,7 @@ void nhrp_nhs_terminate(void)
&nifp->afi[afi].nhslist_head, nhs)
nhrp_nhs_free(nifp, afi, nhs);
}
+ nhrp_peer_interface_del(ifp);
}
}