diff options
author | alc <alc@FreeBSD.org> | 2010-07-23 18:58:27 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2010-07-23 18:58:27 +0000 |
commit | 0c709bf1093eb3e3a2535ee09725b7dd5b635c2f (patch) | |
tree | 519e37194477b3fd615f87f06efcd3d61f25ce52 /sys/amd64 | |
parent | 33843d3a844a40bffb8c41095c5ba177ffcc9503 (diff) | |
download | FreeBSD-src-0c709bf1093eb3e3a2535ee09725b7dd5b635c2f.zip FreeBSD-src-0c709bf1093eb3e3a2535ee09725b7dd5b635c2f.tar.gz |
Eliminate a little bit of duplicated code.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/linux32/linux32_machdep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/amd64/linux32/linux32_machdep.c b/sys/amd64/linux32/linux32_machdep.c index 22ca3cb..b866929 100644 --- a/sys/amd64/linux32/linux32_machdep.c +++ b/sys/amd64/linux32/linux32_machdep.c @@ -200,9 +200,7 @@ linux_exec_copyin_args(struct image_args *args, char *fname, return (0); err_exit: - kmem_free_wakeup(exec_map, (vm_offset_t)args->buf, - PATH_MAX + ARG_MAX + MAXSHELLCMDLEN); - args->buf = NULL; + exec_free_args(args); return (error); } |