summaryrefslogtreecommitdiffstats
path: root/net/zebra
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2005-06-30 07:25:18 +0000
committersumikawa <sumikawa@FreeBSD.org>2005-06-30 07:25:18 +0000
commit0fa158139986e1bab01506d879feaada09051408 (patch)
tree5f215b61e40706e46aebd6d9b76f163f887e0f11 /net/zebra
parent54ba2c8419117f3c8bbbb1651c9e00dd0196ba49 (diff)
downloadFreeBSD-ports-0fa158139986e1bab01506d879feaada09051408.zip
FreeBSD-ports-0fa158139986e1bab01506d879feaada09051408.tar.gz
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')
-rw-r--r--net/zebra/Makefile2
-rw-r--r--net/zebra/files/patch-ospf8
2 files changed, 9 insertions, 1 deletions
diff --git a/net/zebra/Makefile b/net/zebra/Makefile
index f99cda7..544b051 100644
--- a/net/zebra/Makefile
+++ b/net/zebra/Makefile
@@ -7,7 +7,7 @@
PORTNAME= zebra
PORTVERSION= 0.95
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/ \
ftp://ftp.ripe.net/mirrors/sites/ftp.zebra.org/pub/zebra/ \
diff --git a/net/zebra/files/patch-ospf b/net/zebra/files/patch-ospf
index 00e2f79..bfb9bee 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 */
+
OpenPOWER on IntegriCloud