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
8f17f2c988
commit
a00d57dd66
@ -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