diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2023-03-16 19:12:55 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-16 19:12:55 -0400 | 
| commit | 090109617ef3e010345ce6e1a2e422f43f0bbdcd (patch) | |
| tree | 6e811163e91d02cd92fff7950b7cb0574e99bd88 /bgpd/bgp_route.h | |
| parent | 9a02d9a3bcc5aa179767064d79560e9c3e5be962 (diff) | |
| parent | 100f2249d39db1e7cd357aa648205188a67ea5a3 (diff) | |
Merge pull request #12999 from opensourcerouting/fix/bgp_leaks_random_stuff
bgpd: aggregate routes memory leak for aspath
Diffstat (limited to 'bgpd/bgp_route.h')
| -rw-r--r-- | bgpd/bgp_route.h | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_route.h b/bgpd/bgp_route.h index 7755687700..c45dcaa516 100644 --- a/bgpd/bgp_route.h +++ b/bgpd/bgp_route.h @@ -766,7 +766,7 @@ extern void bgp_config_write_distance(struct vty *, struct bgp *, afi_t,  extern void bgp_aggregate_delete(struct bgp *bgp, const struct prefix *p,  				 afi_t afi, safi_t safi,  				 struct bgp_aggregate *aggregate); -extern void bgp_aggregate_route(struct bgp *bgp, const struct prefix *p, +extern bool bgp_aggregate_route(struct bgp *bgp, const struct prefix *p,  				afi_t afi, safi_t safi,  				struct bgp_aggregate *aggregate);  extern void bgp_aggregate_increment(struct bgp *bgp, const struct prefix *p, @@ -877,6 +877,7 @@ extern void bgp_path_info_free_with_caller(const char *caller,  extern void bgp_path_info_add_with_caller(const char *caller,  					  struct bgp_dest *dest,  					  struct bgp_path_info *pi); +extern void bgp_aggregate_free(struct bgp_aggregate *aggregate);  #define bgp_path_info_add(A, B)                                                \  	bgp_path_info_add_with_caller(__func__, (A), (B))  #define bgp_path_info_free(B) bgp_path_info_free_with_caller(__func__, (B))  | 
