summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorbrueffer <brueffer@FreeBSD.org>2011-10-11 13:40:37 +0000
committerbrueffer <brueffer@FreeBSD.org>2011-10-11 13:40:37 +0000
commit35a20a3582f12acabd4bbf035b9f72eb232b2184 (patch)
treeabcc57c4d86fadaca4af7dc9e9c17f7f7f71f738 /sys/compat/linux
parent7adf0c3790c9a76c8ca6c5c48431669f689bcc0f (diff)
downloadFreeBSD-src-35a20a3582f12acabd4bbf035b9f72eb232b2184.zip
FreeBSD-src-35a20a3582f12acabd4bbf035b9f72eb232b2184.tar.gz
Add curly braces missed in r226247.
Pointy hat to: brueffer Submitted by: many MFC after: 1 week
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/linux_uid16.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_uid16.c b/sys/compat/linux/linux_uid16.c
index c306f00..31950ff 100644
--- a/sys/compat/linux/linux_uid16.c
+++ b/sys/compat/linux/linux_uid16.c
@@ -113,9 +113,10 @@ linux_setgroups16(struct thread *td, struct linux_setgroups16_args *args)
return (EINVAL);
linux_gidset = malloc(ngrp * sizeof(*linux_gidset), M_TEMP, M_WAITOK);
error = copyin(args->gidset, linux_gidset, ngrp * sizeof(l_gid16_t));
- if (error)
+ if (error) {
free(linux_gidset, M_TEMP);
return (error);
+ }
newcred = crget();
p = td->td_proc;
PROC_LOCK(p);
OpenPOWER on IntegriCloud