Re: [tip:sched/core] sched/rt: Fix memory leak in alloc_rt_sched_group()

2015-07-06 Thread Ingo Molnar
* Anshul Garg wrote: > Dear linux community, > > I think this patch" sched/rt: Fix memory leak in > alloc_rt_sched_group()" with Commit-ID: > ecdd6804b7c9e15fe8fc836ba0233d9912834e8b is not correct. > > As it will create panic in case of kzalloc failure because of doingkfree > twice. > > As

Re: [tip:sched/core] sched/rt: Fix memory leak in alloc_rt_sched_group()

2015-07-06 Thread Anshul Garg
Dear linux community, I think this patch" sched/rt: Fix memory leak in alloc_rt_sched_group()" with Commit-ID: ecdd6804b7c9e15fe8fc836ba0233d9912834e8b is not correct. As it will create panic in case of kzalloc failure because of doingkfree twice. As if alloc_rt_sched_group fails it will return

[tip:sched/core] sched/rt: Fix memory leak in alloc_rt_sched_group()

2015-07-06 Thread tip-bot for Anshul Garg
Commit-ID: ecdd6804b7c9e15fe8fc836ba0233d9912834e8b Gitweb: http://git.kernel.org/tip/ecdd6804b7c9e15fe8fc836ba0233d9912834e8b Author: Anshul Garg AuthorDate: Wed, 1 Jul 2015 12:29:26 -0700 Committer: Ingo Molnar CommitDate: Mon, 6 Jul 2015 14:17:14 +0200 sched/rt: Fix memory leak in a