diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-07-29 01:54:03 +0300 | 
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-05-03 09:30:33 +0300 | 
| commit | 471e373c17fa8cf1e7e4a2f08bbd977b125cccd9 (patch) | |
| tree | 49a230ff38ce7028f8e87e6552463753b741a9e2 /bgpd/bgp_route.c | |
| parent | ad97cd00a69e564ba25eff4c03bf65aadc4af78d (diff) | |
bgpd: fix missing damp info free when cleaning bgp path
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'bgpd/bgp_route.c')
| -rw-r--r-- | bgpd/bgp_route.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index fcf7216ce1..9697245eea 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -250,6 +250,8 @@ void bgp_path_info_extra_free(struct bgp_path_info_extra **extra)  	e = *extra; +	if (e->damp_info) +		bgp_damp_info_free(e->damp_info, 0);  	e->damp_info = NULL;  	if (e->vrfleak && e->vrfleak->parent) {  		struct bgp_path_info *bpi =  | 
