1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

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>
This commit is contained in:
Munechika SUMIKAWA 2005-06-30 07:25:18 +00:00
parent 794e66cfe7
commit 450add3661
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138225
2 changed files with 9 additions and 1 deletions

View File

@ -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/ \

View File

@ -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 */