mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 08:49:58 +00:00
bgpd: fix missing damp info free when cleaning bgp path
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
755a977b8a
commit
4538f89552
@ -222,7 +222,10 @@ 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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user