diff options
Diffstat (limited to 'sys/kern/kern_exec.c')
| -rw-r--r-- | sys/kern/kern_exec.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index 385ba01369c5..22f1cc173071 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -753,10 +753,8 @@ done1: crfree(tracecred); #endif vn_lock(imgp->vp, LK_EXCLUSIVE | LK_RETRY, td); - if (oldargs != NULL) - pargs_drop(oldargs); - if (newargs != NULL) - pargs_drop(newargs); + pargs_drop(oldargs); + pargs_drop(newargs); if (oldsigacts != NULL) sigacts_free(oldsigacts); |
