summaryrefslogtreecommitdiff
path: root/lib/hook.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-09-15 22:45:23 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-09-15 22:45:23 +0300
commitee522f572995074d5b0d840457f40a0eb3f0e40c (patch)
treeec5508957ab808bca33d710092a256b689b2a315 /lib/hook.c
parentbc4477ecbdca408c8a3757f687fd18564af754ec (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/hook.c')
0 files changed, 0 insertions, 0 deletions