Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Quagga: Dev

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

 

 

Quagga dev RSS feed   Index | Next | Previous | View Threaded


sysoleg at yandex

Sep 14, 2011, 11:53 PM

Post #1 of 1 (238 views)
Permalink
[PATCH] Don't leak "BGP extra attributes" objects in bgp_attr_unintern()

---
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

_______________________________________________
Quagga-dev mailing list
Quagga-dev [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-dev

Quagga dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.