From 450add36610dbe6777ddbb43b3ddb54245c8931e Mon Sep 17 00:00:00 2001 From: Munechika SUMIKAWA Date: Thu, 30 Jun 2005 07:25:18 +0000 Subject: Fix memory leak. See http://marc.theaimsgroup.com/?l=zebra&m=111931575510231&w=2 in detail PR: ports/82461 Submitted by: dikshie --- net/zebra/Makefile | 2 +- net/zebra/files/patch-ospf | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'net/zebra') diff --git a/net/zebra/Makefile b/net/zebra/Makefile index f99cda7a82da..544b0517c70e 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 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 */ + -- cgit