summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2005-03-28 15:03:34 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2005-03-28 15:03:34 +0000
commit39a9e425075971f0ea56cca7ccac92c64b8f8a8e (patch)
tree076934ea967a67637d648e6b628116353a3444dc /usr.sbin/bgpd/session.c
parent542f6cafd3234a53a4fed511e94902355ec9792c (diff)
free rules_l if the initial config file parse fails
Diffstat (limited to 'usr.sbin/bgpd/session.c')
-rw-r--r--usr.sbin/bgpd/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c
index 6fa3eb0923b..a4cca553914 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.213 2005/03/11 17:46:11 henning Exp $ */
+/* $OpenBSD: session.c,v 1.214 2005/03/28 15:03:33 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -518,7 +518,7 @@ session_main(struct bgpd_config *config, struct peer *cpeers,
control_shutdown();
log_info("session engine exiting");
- _exit(0);
+ exit(0);
}
void