aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/inetd
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-01-10 14:43:57 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-01-10 14:43:57 +0000
commit525c896ba863e4779ce0a4ac9b5e16b03e273f37 (patch)
tree7ac7cd3385b014b59d489fb7fe156a1ae3759912 /usr.sbin/inetd
parent36cac5570ff0541f62fafbb42eec54ddbf584ca4 (diff)
downloadsrc-525c896ba863e4779ce0a4ac9b5e16b03e273f37.tar.gz
src-525c896ba863e4779ce0a4ac9b5e16b03e273f37.zip
Notes
Diffstat (limited to 'usr.sbin/inetd')
-rw-r--r--usr.sbin/inetd/inetd.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c
index 02a9a9f0df68..7ba51c9af593 100644
--- a/usr.sbin/inetd/inetd.c
+++ b/usr.sbin/inetd/inetd.c
@@ -29,10 +29,12 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#ifndef lint
-static const char copyright[] =
-"@(#) Copyright (c) 1983, 1991, 1993, 1994\n\
- The Regents of the University of California. All rights reserved.\n";
+__COPYRIGHT("@(#) Copyright (c) 1983, 1991, 1993, 1994\n\
+ The Regents of the University of California. All rights reserved.\n");
#endif /* not lint */
#ifndef lint
@@ -41,9 +43,6 @@ static char sccsid[] = "@(#)from: inetd.c 8.4 (Berkeley) 4/13/94";
#endif
#endif /* not lint */
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
-
/*
* Inetd - Internet super-server
*
@@ -1661,7 +1660,9 @@ more:
break;
}
if (cp == NULL) {
+#ifdef IPSEC
free(policy);
+#endif
return (NULL);
}