Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69102
b: refs/heads/master
c: a65914b
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Oct 15, 2007
1 parent 69238bd commit d7a0ac2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 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: 8927f49479756c1aff76e8202ad32733c965864f
refs/heads/master: a65914b3658043da27c159b8a28c5811bb0a88c9
13 changes: 5 additions & 8 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -6784,17 +6784,14 @@ struct task_grp *sched_create_group(void)

err:
for_each_possible_cpu(i) {
if (tg->cfs_rq && tg->cfs_rq[i])
if (tg->cfs_rq)
kfree(tg->cfs_rq[i]);
if (tg->se && tg->se[i])
if (tg->se)
kfree(tg->se[i]);
}
if (tg->cfs_rq)
kfree(tg->cfs_rq);
if (tg->se)
kfree(tg->se);
if (tg)
kfree(tg);
kfree(tg->cfs_rq);
kfree(tg->se);
kfree(tg);

return ERR_PTR(-ENOMEM);
}
Expand Down

0 comments on commit d7a0ac2

Please sign in to comment.