mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 07:37:29 +00:00
bgpd: fix crash when bgp_delete found by unit-test
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
This commit is contained in:
parent
daedb8b3cf
commit
124f7236fb
@ -1337,7 +1337,9 @@ static void bgp_srv6_init(struct bgp *bgp)
|
||||
|
||||
static void bgp_srv6_cleanup(struct bgp *bgp)
|
||||
{
|
||||
if (bgp->srv6_locator_chunks)
|
||||
list_delete(&bgp->srv6_locator_chunks);
|
||||
if (bgp->srv6_functions)
|
||||
list_delete(&bgp->srv6_functions);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user