diff options
Diffstat (limited to 'libc/sysdeps/linux/common/setgroups.c')
-rw-r--r-- | libc/sysdeps/linux/common/setgroups.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/setgroups.c b/libc/sysdeps/linux/common/setgroups.c index 7bfcc6c20..eb5245d59 100644 --- a/libc/sysdeps/linux/common/setgroups.c +++ b/libc/sysdeps/linux/common/setgroups.c @@ -56,8 +56,7 @@ ret_error: } i = __syscall_setgroups(size, kernel_groups); - if (kernel_groups) - free(kernel_groups); + free(kernel_groups); return i; } } |