diff options
author | 2004-08-11 10:09:30 +0000 | |
---|---|---|
committer | 2004-08-11 10:09:30 +0000 | |
commit | d9ff81acb1eb0a7443c2f011d3a135c3fefb9de1 (patch) | |
tree | 2227274e37754a51a18796a3d6380656637deb0d | |
parent | allow for a fonts.dir.dist, for cases where mkfontdir doesn't know what to do. (diff) | |
download | wireguard-openbsd-d9ff81acb1eb0a7443c2f011d3a135c3fefb9de1.tar.xz wireguard-openbsd-d9ff81acb1eb0a7443c2f011d3a135c3fefb9de1.zip |
Cleanup on exit. OK henning@
-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); |