Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253948
b: refs/heads/master
c: b1d7dd8
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Jun 22, 2011
1 parent e18bd1c commit 7c8ab4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 35052cffe0081904f3362c05818db900dd9dc7de
refs/heads/master: b1d7dd80aadb9042e83f9778b484a2f92e0b04d4
3 changes: 2 additions & 1 deletion trunk/security/keys/request_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ static struct key *construct_key_and_link(struct key_type *type,
} else if (ret == -EINPROGRESS) {
ret = 0;
} else {
key = ERR_PTR(ret);
goto couldnt_alloc_key;
}

key_put(dest_keyring);
Expand All @@ -479,6 +479,7 @@ static struct key *construct_key_and_link(struct key_type *type,
construction_failed:
key_negate_and_link(key, key_negative_timeout, NULL, NULL);
key_put(key);
couldnt_alloc_key:
key_put(dest_keyring);
kleave(" = %d", ret);
return ERR_PTR(ret);
Expand Down

0 comments on commit 7c8ab4f

Please sign in to comment.