mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 20:18:54 +00:00
Merge pull request #7377 from donaldsharp/bgp_static_leak
bgpd: Bgp static routes memory leak
This commit is contained in:
commit
7281a37c8b
@ -5747,9 +5747,9 @@ void bgp_static_delete(struct bgp *bgp)
|
||||
bgp_dest_get_prefix(
|
||||
dest));
|
||||
bgp_static_free(bgp_static);
|
||||
bgp_dest_set_bgp_static_info(dest,
|
||||
bgp_dest_set_bgp_static_info(rm,
|
||||
NULL);
|
||||
bgp_dest_unlock_node(dest);
|
||||
bgp_dest_unlock_node(rm);
|
||||
}
|
||||
} else {
|
||||
bgp_static = bgp_dest_get_bgp_static_info(dest);
|
||||
|
Loading…
Reference in New Issue
Block a user