diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-05 14:28:48 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-05 14:28:48 -0700 |
commit | 70c9fb570b7c1c3edb03cbe745cf81ceeef5d484 (patch) | |
tree | d002b8a9d94f2b81b0f9aa7821db49cfa7686e0d /kernel | |
parent | 13369e831173251e2bc3bc2a78f67c387e8d9609 (diff) | |
parent | 9a4f26cc98d81b67ecc23b890c28e2df324e29f3 (diff) | |
download | linux-70c9fb570b7c1c3edb03cbe745cf81ceeef5d484.tar.bz2 |
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fix from Ingo Molnar:
"Fix a kobject memory leak in the cpufreq code"
* 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
sched/cpufreq: Fix kobject memleak
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched/cpufreq_schedutil.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c index 5c41ea367422..3638d2377e3c 100644 --- a/kernel/sched/cpufreq_schedutil.c +++ b/kernel/sched/cpufreq_schedutil.c @@ -771,6 +771,7 @@ out: return 0; fail: + kobject_put(&tunables->attr_set.kobj); policy->governor_data = NULL; sugov_tunables_free(tunables); |