quagga/quagga-0.99.20-memleak.patch

13 lines
263 B
Diff
Raw Normal View History

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