diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-09-13 20:52:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 20:52:37 +0200 |
commit | 75dbd45c5570c088dc0e2cf83e1b22b0ec0a30b3 (patch) | |
tree | 55850222126c35b83b5f5242218e0d9b31984d1e /bgpd/bgp_route.h | |
parent | Merge pull request #14410 from opensourcerouting/fix/keep_su_remote_local (diff) | |
parent | bgpd: Ensure that leak_update does not free memory before it is being used (diff) | |
download | frr-75dbd45c5570c088dc0e2cf83e1b22b0ec0a30b3.tar.xz frr-75dbd45c5570c088dc0e2cf83e1b22b0ec0a30b3.zip |
Merge pull request #14383 from donaldsharp/bgp_coverity_cleanup_early_sept
Bgp coverity cleanup early sept
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 109711314..7470954bf 100644 --- a/bgpd/bgp_route.h +++ b/bgpd/bgp_route.h @@ -727,7 +727,8 @@ extern struct bgp_path_info * bgp_get_imported_bpi_ultimate(struct bgp_path_info *info); extern void bgp_path_info_add(struct bgp_dest *dest, struct bgp_path_info *pi); extern void bgp_path_info_extra_free(struct bgp_path_info_extra **extra); -extern void bgp_path_info_reap(struct bgp_dest *dest, struct bgp_path_info *pi); +extern struct bgp_dest *bgp_path_info_reap(struct bgp_dest *dest, + struct bgp_path_info *pi); extern void bgp_path_info_delete(struct bgp_dest *dest, struct bgp_path_info *pi); extern struct bgp_path_info_extra * |