summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2001-08-08 00:47:53 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2001-08-08 00:47:53 +0000
commitf71ae2f68ed4e9856914242b85ca3e316c3b41b3 (patch)
treef7da553de3aa2450e1bc40f077131c4e3efdf091 /usr.sbin
parent6a67b13d861586006f4e3e0da6940f5ffbf2c248 (diff)
do not free unallocated memory, PR#1989
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/mailwrapper/mailwrapper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/mailwrapper/mailwrapper.c b/usr.sbin/mailwrapper/mailwrapper.c
index 762494dfdc2..acafd45307e 100644
--- a/usr.sbin/mailwrapper/mailwrapper.c
+++ b/usr.sbin/mailwrapper/mailwrapper.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mailwrapper.c,v 1.8 2000/01/10 05:34:32 imp Exp $ */
+/* $OpenBSD: mailwrapper.c,v 1.9 2001/08/08 00:47:52 jakob Exp $ */
/* $NetBSD: mailwrapper.c,v 1.2 1999/02/20 22:10:07 thorpej Exp $ */
/*
@@ -129,7 +129,6 @@ main(argc, argv, envp)
closelog();
execve(_PATH_DEFAULTMTA, al.argv, envp);
freearg(&al, 0);
- free(line);
err(1, "mailwrapper: execing %s", _PATH_DEFAULTMTA);
/*NOTREACHED*/
}