diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-08-11 10:09:31 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2004-08-11 10:09:31 +0000 |
commit | 92c4a0de926f0871b6a24cd6ae79bfa7b495ff42 (patch) | |
tree | 3639d43631ae392157b5138d382ba25fe878883e /usr.sbin/bgpd/session.c | |
parent | 9d631250e90767c5a3cc86078d45a511f17165ba (diff) |
Cleanup on exit. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/session.c')
-rw-r--r-- | usr.sbin/bgpd/session.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c index 1f2f34984f9..11e70819e56 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.186 2004/08/10 14:06:53 claudio Exp $ */ +/* $OpenBSD: session.c,v 1.187 2004/08/11 10:09:30 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -503,6 +503,9 @@ session_main(struct bgpd_config *config, struct peer *cpeers, free(la); } free(conf->listen_addrs); + free(peer_l); + free(mrt_l); + free(pfd); msgbuf_write(&ibuf_rde.w); msgbuf_clear(&ibuf_rde.w); |