diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2014-06-04 00:54:58 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2014-06-29 12:47:21 +0200 |
commit | c460e5720c1101a6da53e5b753b736ac2c7981af (patch) | |
tree | a60baf501e16e92a472e50bc2383bfd937ba0bfd /zebra/rib.h | |
parent | a4b5665f76d9e907a547c85c9c4a7a656c568b9d (diff) | |
download | quagga-c460e5720c1101a6da53e5b753b736ac2c7981af.tar.bz2 quagga-c460e5720c1101a6da53e5b753b736ac2c7981af.tar.xz |
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>
Diffstat (limited to 'zebra/rib.h')
0 files changed, 0 insertions, 0 deletions