[quagga-dev 8849] [PATCH] Don't leak "BGP extra attributes" objects in bgp_attr_unintern()

Oleg A. Arkhangelsky sysoleg at yandex.ru
Thu Sep 15 07:53:19 BST 2011


---
 bgpd/bgp_attr.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c
index d43c104..3908e72 100644
--- a/bgpd/bgp_attr.c
+++ b/bgpd/bgp_attr.c
@@ -675,6 +675,7 @@ bgp_attr_unintern (struct attr **attr)
     }

   bgp_attr_unintern_sub (&tmp);
+  bgp_attr_extra_free (&tmp);
 }

 void
--
1.7.2.5




More information about the Quagga-dev mailing list