commit | c460e5720c1101a6da53e5b753b736ac2c7981af | [log] [tgz] |
---|---|---|
author | David Lamparter <equinox@opensourcerouting.org> | Wed Jun 04 00:54:58 2014 +0200 |
committer | David Lamparter <equinox@opensourcerouting.org> | Sun Jun 29 12:47:21 2014 +0200 |
tree | a60baf501e16e92a472e50bc2383bfd937ba0bfd | |
parent | a4b5665f76d9e907a547c85c9c4a7a656c568b9d [diff] |
bgpd: fix some bgp_update_main() attribute leaks bgp_update_main() wasn't doing anything to release attribute values set from route maps for two of its error paths. To fix, pull up the appropriate cleanup from further down and apply it here. bgp_update_rsclient() doesn't have the issue since it immediately does bgp_attr_intern() on the results from bgp_{export,import}_modifier. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>