Don't free memory that was never allocated. This fixes a core dump in

the case where both the config file and the default MTA don't exist.

PR:		29521
Submitted by:	marius@alchemy.franken.de
This commit is contained in:
Dima Dorfman 2001-08-09 06:20:18 +00:00
parent 8ee5eca8d1
commit 8c37834db2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81344

View File

@ -130,7 +130,6 @@ main(argc, argv, envp)
closelog();
execve(_PATH_DEFAULTMTA, al.argv, envp);
freearg(&al, 0);
free(line);
err(1, "execing %s", _PATH_DEFAULTMTA);
/*NOTREACHED*/
}