]> git.ipfire.org Git - thirdparty/kernel/stable.git/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:52:27 +0000 (07:52 +0200)
commitfc2de796926b6086634833fcd8705d0d3c94cb1a
treeda86aeec2ec7114b80aa25baaadfce8563797c60
parentd023498fef3506790a939f0b6cc63f5eca228a25
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