diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-01-03 16:49:25 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-01-03 16:49:25 +0000 |
commit | 4fa3ba3bc754c1ae88a6580928055be26adc6634 (patch) | |
tree | b6ca39804da6b79a288b5506fd5d77d3e2b5dcac /usr.sbin/bgpd/bgpd.c | |
parent | 01ce710d5a505840bc771b28f36e4d4276721b87 (diff) |
Plug some mem leaks.
Diffstat (limited to 'usr.sbin/bgpd/bgpd.c')
-rw-r--r-- | usr.sbin/bgpd/bgpd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c index 86d74c65a11..a3a2235fc19 100644 --- a/usr.sbin/bgpd/bgpd.c +++ b/usr.sbin/bgpd/bgpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.c,v 1.128 2006/01/03 13:13:16 claudio Exp $ */ +/* $OpenBSD: bgpd.c,v 1.129 2006/01/03 16:49:23 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -237,6 +237,7 @@ main(int argc, char *argv[]) while ((net = TAILQ_FIRST(&net_l)) != NULL) { TAILQ_REMOVE(&net_l, net, entry); + filterset_free(&net->net.attrset); free(net); } |