diff options
author | Oleg A. Arkhangelsky <sysoleg@yandex.ru> | 2011-12-03 15:18:19 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-12-03 15:18:19 +0400 |
commit | ce0af6ff5a4f200035ed4134da72a67f49a21dd6 (patch) | |
tree | 1f085a210596f3f5875030c92ba3252933102149 /bgpd | |
parent | 1ffe5e794c3cd4a2ef84cac937d377de89b721f8 (diff) |
bgpd: fix memory leak for extra attributes
this fixes commit b881c7074bb698aeb1b099175b325734fc6e44d2
Diffstat (limited to 'bgpd')
-rw-r--r-- | 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 29877eb7..4e604b18 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 |