From 92c4a0de926f0871b6a24cd6ae79bfa7b495ff42 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Wed, 11 Aug 2004 10:09:31 +0000 Subject: Cleanup on exit. OK henning@ --- usr.sbin/bgpd/session.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'usr.sbin/bgpd/session.c') 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 @@ -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); -- cgit v1.2.3