mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 00:41:20 +00:00
Merge pull request #11929 from opensourcerouting/fix/memory_leaks
bgpd: Fix memory leak for `set as-path replace` route-map command
This commit is contained in:
commit
d31bf91e76
@ -2270,6 +2270,8 @@ route_set_aspath_replace(void *rule, const struct prefix *dummy, void *object)
|
||||
aspath_new, replace_asn, own_asn);
|
||||
}
|
||||
|
||||
aspath_free(aspath_new);
|
||||
|
||||
return RMAP_OKAY;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user