diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2020-08-18 22:03:55 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2020-08-18 22:03:55 +0000 |
commit | d5e3895ea4fe4ef9db8823774e07b4368180a23e (patch) | |
tree | 4c405cea52ad303af13a31edcb53c73dc815856b /sys/i386/linux/linux_machdep.c | |
parent | d7e357f85c79f8c21dceac33461cec45d779b681 (diff) | |
download | src-d5e3895ea4fe4ef9db8823774e07b4368180a23e.tar.gz src-d5e3895ea4fe4ef9db8823774e07b4368180a23e.zip |
linux: consistently use LFREEPATH instead of open-coding it
Notes
Notes:
svn path=/head/; revision=364365
Diffstat (limited to 'sys/i386/linux/linux_machdep.c')
-rw-r--r-- | sys/i386/linux/linux_machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/linux/linux_machdep.c b/sys/i386/linux/linux_machdep.c index ba106d554ee4..677a70f1e1e0 100644 --- a/sys/i386/linux/linux_machdep.c +++ b/sys/i386/linux/linux_machdep.c @@ -108,7 +108,7 @@ linux_execve(struct thread *td, struct linux_execve_args *args) error = exec_copyin_args(&eargs, newpath, UIO_SYSSPACE, args->argp, args->envp); - free(newpath, M_TEMP); + LFREEPATH(newpath); if (error == 0) error = linux_common_execve(td, &eargs); return (error); |