diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-08-31 20:51:32 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-08-31 20:51:32 +0000 |
commit | 5cc132474e4467ab67f03b4b15f6741cc3554ca1 (patch) | |
tree | 5775c926875e9457250d3dc3efbba785a7ae8104 | |
parent | bd09fe2846df4874062b19dcb8892d5a859bb9ca (diff) |
Do not call free() on an array in the data section. Fortunately
the code was not reached. No binary change.
OK miod@ guenther@
-rw-r--r-- | usr.sbin/syslogd/syslogd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/syslogd/syslogd.c b/usr.sbin/syslogd/syslogd.c index ec47a343911..7a8b1c25f74 100644 --- a/usr.sbin/syslogd/syslogd.c +++ b/usr.sbin/syslogd/syslogd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syslogd.c,v 1.119 2014/08/25 18:19:18 bluhm Exp $ */ +/* $OpenBSD: syslogd.c,v 1.120 2014/08/31 20:51:31 bluhm Exp $ */ /* * Copyright (c) 1983, 1988, 1993, 1994 @@ -646,7 +646,6 @@ main(int argc, char *argv[]) } } /* NOTREACHED */ - free(pfd); return (0); } |