mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 11:15:47 +00:00
Merge pull request #11333 from opensourcerouting/fix/memory_leak_with_rmaps
bgpd: Fix memory leak when setting [l]community at egress
This commit is contained in:
commit
faa8c700e6
@ -2211,7 +2211,7 @@ bool subgroup_announce_check(struct bgp_dest *dest, struct bgp_path_info *pi,
|
|||||||
"%s [Update:SEND] %pFX is filtered by route-map '%s'",
|
"%s [Update:SEND] %pFX is filtered by route-map '%s'",
|
||||||
peer->host, p,
|
peer->host, p,
|
||||||
ROUTE_MAP_OUT_NAME(filter));
|
ROUTE_MAP_OUT_NAME(filter));
|
||||||
|
bgp_attr_flush(rmap_path.attr);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user