diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-09-15 22:45:23 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-09-15 22:45:23 +0300 |
| commit | ee522f572995074d5b0d840457f40a0eb3f0e40c (patch) | |
| tree | ec5508957ab808bca33d710092a256b689b2a315 /lib/routing_nb_config.c | |
| parent | bc4477ecbdca408c8a3757f687fd18564af754ec (diff) | |
bgpd: fix memory leaks when using route-maps
There are places where we use route-maps using duplicated attributes and
neither intern nor flush them after the usage. If a route-map has set
rules for aspath/communities, they will be allocated and never freed.
We should always flush unneeded duplicated attributes.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/routing_nb_config.c')
0 files changed, 0 insertions, 0 deletions
