git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
usb: ohci: Proper handling of ed_rm_list to handle race condition between usb_kill_ur...
[pandora-kernel.git]
/
security
/
keys
/
compat.c
diff --git
a/security/keys/compat.c
b/security/keys/compat.c
index
4c48e13
..
1b0b7bf
100644
(file)
--- a/
security/keys/compat.c
+++ b/
security/keys/compat.c
@@
-40,12
+40,12
@@
long compat_keyctl_instantiate_key_iov(
ARRAY_SIZE(iovstack),
iovstack, &iov, 1);
if (ret < 0)
-
return ret
;
+
goto err
;
if (ret == 0)
goto no_payload_free;
ret = keyctl_instantiate_key_common(id, iov, ioc, ret, ringid);
-
+err:
if (iov != iovstack)
kfree(iov);
return ret;