summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/bgpd/session.c5
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);