diff options
author | jhb <jhb@FreeBSD.org> | 2006-02-06 22:06:54 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-02-06 22:06:54 +0000 |
commit | ae432f93f28bc2a60c708a33b77ad08e34501984 (patch) | |
tree | e021a567f29f575137e73762ca951faf54b3cfd1 /sys/alpha/osf1 | |
parent | 1f0c541bd133ce3b047f18de07fa40324097bfad (diff) | |
download | FreeBSD-src-ae432f93f28bc2a60c708a33b77ad08e34501984.zip FreeBSD-src-ae432f93f28bc2a60c708a33b77ad08e34501984.tar.gz |
- Always call exec_free_args() in kern_execve() instead of doing it in all
the callers if the exec either succeeds or fails early.
- Move the code to call exit1() if the exec fails after the vmspace is
gone to the bottom of kern_execve() to cut down on some code duplication.
Diffstat (limited to 'sys/alpha/osf1')
-rw-r--r-- | sys/alpha/osf1/osf1_misc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/alpha/osf1/osf1_misc.c b/sys/alpha/osf1/osf1_misc.c index 63ce5ee..13a5ca7 100644 --- a/sys/alpha/osf1/osf1_misc.c +++ b/sys/alpha/osf1/osf1_misc.c @@ -1246,7 +1246,6 @@ osf1_execve(td, uap) free(path, M_TEMP); if (error == 0) error = kern_execve(td, &eargs, NULL); - exec_free_args(&eargs); return (error); } |