Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86245
b: refs/heads/master
c: f777073
h: refs/heads/master
i:
  86243: d7ec089
v: v3
  • Loading branch information
Li Zefan authored and Linus Torvalds committed Feb 24, 2008
1 parent 618a4e3 commit cf6ce80
Show file tree
Hide file tree
Showing 2 changed files with 5 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: ffd2d883399cbbb641e55730676ce1ec4845d99d
refs/heads/master: f777073848ba3708d68d87e43f104f83316187d7
5 changes: 4 additions & 1 deletion trunk/kernel/cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -954,8 +954,11 @@ static int cgroup_get_sb(struct file_system_type *fs_type,
}

root = kzalloc(sizeof(*root), GFP_KERNEL);
if (!root)
if (!root) {
if (opts.release_agent)
kfree(opts.release_agent);
return -ENOMEM;
}

init_cgroup_root(root);
root->subsys_bits = opts.subsys_bits;
Expand Down

0 comments on commit cf6ce80

Please sign in to comment.