projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'tip/perf/urgent-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git]
/
security
/
keys
/
compat.c
diff --git
a/security/keys/compat.c
b/security/keys/compat.c
index
1c26176
..
d65fa7f
100644
(file)
--- a/
security/keys/compat.c
+++ b/
security/keys/compat.c
@@
-40,12
+40,12
@@
static long compat_keyctl_instantiate_key_iov(
ARRAY_SIZE(iovstack),
iovstack, &iov);
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;