mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 15:36:25 +00:00
nhrpd: Fix nhrpd memory leak
Free NHRP peers associated with an interface when NHS is deleted on shutdown Signed-off-by: Keelan Cannoo <keelan.cannoo@icloud.com>
This commit is contained in:
parent
3eefea9249
commit
e15ca73e5a
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user