mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 02:22:43 +00:00
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:
parent
8ee5eca8d1
commit
8c37834db2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81344
@ -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*/
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user