From 2b4bb9d05e49b891ae8e2f640bd7b096e2b6f303 Mon Sep 17 00:00:00 2001 From: Igor Ryzhov Date: Mon, 2 Aug 2021 13:33:09 +0300 Subject: [PATCH] Revert "bgpd: fix missing damp info free when cleaning bgp path" This reverts commit 4538f89552a01e6ab3504f8a59ef156b9a14ce1c. Signed-off-by: Igor Ryzhov --- bgpd/bgp_route.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index b898de5c41..37e3aba876 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -217,10 +217,7 @@ 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->parent) { struct bgp_path_info *bpi = (struct bgp_path_info *)e->parent; -- 2.39.5