mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 23:29:36 +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(
|
bgp_dest_get_prefix(
|
||||||
dest));
|
dest));
|
||||||
bgp_static_free(bgp_static);
|
bgp_static_free(bgp_static);
|
||||||
bgp_dest_set_bgp_static_info(dest,
|
bgp_dest_set_bgp_static_info(rm,
|
||||||
NULL);
|
NULL);
|
||||||
bgp_dest_unlock_node(dest);
|
bgp_dest_unlock_node(rm);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
bgp_static = bgp_dest_get_bgp_static_info(dest);
|
bgp_static = bgp_dest_get_bgp_static_info(dest);
|
||||||
|
Loading…
Reference in New Issue
Block a user