From 69f7509c838e2b3072bdb335e5b047dfa044a44e Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 6 Mar 2024 21:54:33 -0500 Subject: [PATCH] fixup --- bgpd/bgp_route.c | 2 +- bgpd/bgp_updgrp_adv.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 8b04346070b2..af308c05df4d 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -3021,7 +3021,7 @@ void subgroup_process_announce_selected(struct update_subgroup *subgrp, subgrp, adv_attr, selected)) - bgp_attr_flush(&attr); + bgp_attr_unintern(&adv_attr); } else { bgp_adj_out_unset_subgroup( dest, subgrp, 1, addpath_tx_id); diff --git a/bgpd/bgp_updgrp_adv.c b/bgpd/bgp_updgrp_adv.c index 392632451140..1e996012ef56 100644 --- a/bgpd/bgp_updgrp_adv.c +++ b/bgpd/bgp_updgrp_adv.c @@ -1004,7 +1004,7 @@ void subgroup_default_originate(struct update_subgroup *subgrp, bool withdraw) if (!bgp_adj_out_set_subgroup( dest, subgrp, default_attr, pi)) - bgp_attr_flush( + bgp_attr_unintern( &default_attr); } else bgp_attr_flush(&attr);