aboutsummaryrefslogtreecommitdiffstats
path: root/net/zebra/files
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2005-06-30 15:25:18 +0800
committersumikawa <sumikawa@FreeBSD.org>2005-06-30 15:25:18 +0800
commit0fa158139986e1bab01506d879feaada09051408 (patch)
tree5f215b61e40706e46aebd6d9b76f163f887e0f11 /net/zebra/files
parent54ba2c8419117f3c8bbbb1651c9e00dd0196ba49 (diff)
downloadfreebsd-ports-gnome-0fa158139986e1bab01506d879feaada09051408.tar.gz
freebsd-ports-gnome-0fa158139986e1bab01506d879feaada09051408.tar.zst
freebsd-ports-gnome-0fa158139986e1bab01506d879feaada09051408.zip
Fix memory leak.
See http://marc.theaimsgroup.com/?l=zebra&m=111931575510231&w=2 in detail PR: ports/82461 Submitted by: dikshie <dikshie@lapi.itb.ac.id>
Diffstat (limited to 'net/zebra/files')
-rw-r--r--net/zebra/files/patch-ospf8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/zebra/files/patch-ospf b/net/zebra/files/patch-ospf
index 00e2f798bed0..bfb9bee93a42 100644
--- a/net/zebra/files/patch-ospf
+++ b/net/zebra/files/patch-ospf
@@ -9,3 +9,11 @@
/* Get secret key. */
ck = ospf_crypt_key_lookup (OSPF_IF_PARAM (oi, auth_crypt),
+@@ -1786,6 +1786,7 @@
+ if (listcount (mylsa_upds) > 0)
+ ospf_opaque_self_originated_lsa_received (nbr, mylsa_upds);
+
++ list_delete (mylsa_acks);
+ list_delete (mylsa_upds);
+ #endif /* HAVE_OPAQUE_LSA */
+