]> git.itanic.dy.fi Git - linux-stable/commit
ACPI: acpi_pad: Fix memory leak in power saving threads
authorLenny Szubowicz <lszubowi@redhat.com>
Tue, 27 Mar 2018 13:56:40 +0000 (09:56 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:50:43 +0000 (07:50 +0200)
commitbebc3f0137796d0377fb7c06bdf191941f62b033
tree298e56b07998cc401a18ed60d831f5c4a55b1805
parentbc45cf2446bf7350ea6db9f178f11996aadffb30
ACPI: acpi_pad: Fix memory leak in power saving threads

[ Upstream commit 8b29d29abc484d638213dd79a18a95ae7e5bb402 ]

Fix once per second (round_robin_time) memory leak of about 1 KB in
each acpi_pad kernel idling thread that is activated.

Found by testing with kmemleak.

Signed-off-by: Lenny Szubowicz <lszubowi@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/acpi_pad.c