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 e31ca37..b4f3ccc 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -832,10 +832,8 @@ done1: crfree(tracecred); #endif vn_lock(imgp->vp, LK_EXCLUSIVE | LK_RETRY); - if (oldargs != NULL) - pargs_drop(oldargs); - if (newargs != NULL) - pargs_drop(newargs); + pargs_drop(oldargs); + pargs_drop(newargs); if (oldsigacts != NULL) sigacts_free(oldsigacts); |