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:
Donald Sharp 2022-06-13 08:27:24 -04:00 committed by GitHub
commit faa8c700e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'",
peer->host, p,
ROUTE_MAP_OUT_NAME(filter));
bgp_attr_flush(rmap_path.attr);
return false;
}
}