Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145283
b: refs/heads/master
c: ab2b7eb
h: refs/heads/master
i:
  145281: 45a2bb3
  145279: c6cdc61
v: v3
  • Loading branch information
Tetsuo Handa authored and Linus Torvalds committed May 26, 2009
1 parent 9e3564d commit 1c74905
Show file tree
Hide file tree
Showing 2 changed files with 4 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: d4a76f8a619b5d7dfd5a0f122666fee24bb3dcb9
refs/heads/master: ab2b7ebaad16226c9a5e85c5f384d19fa58a7459
4 changes: 3 additions & 1 deletion trunk/kernel/kmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,8 +370,10 @@ struct subprocess_info *call_usermodehelper_setup(char *path, char **argv,
sub_info->argv = argv;
sub_info->envp = envp;
sub_info->cred = prepare_usermodehelper_creds();
if (!sub_info->cred)
if (!sub_info->cred) {
kfree(sub_info);
return NULL;
}

out:
return sub_info;
Expand Down

0 comments on commit 1c74905

Please sign in to comment.