diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-05 23:28:48 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-05 23:28:48 +0200 |
commit | 70c9fb570b7c1c3edb03cbe745cf81ceeef5d484 (patch) | |
tree | d002b8a9d94f2b81b0f9aa7821db49cfa7686e0d | |
parent | Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
parent | sched/cpufreq: Fix kobject memleak (diff) | |
download | linux-70c9fb570b7c1c3edb03cbe745cf81ceeef5d484.tar.xz linux-70c9fb570b7c1c3edb03cbe745cf81ceeef5d484.zip |
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
-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); |