Messages in this thread | | | Date | Wed, 9 Mar 2016 09:11:29 +0800 | From | "Chen, Gong" <> | Subject | Re: [PATCH v2 1/2] ACPI, APEI: Fix leaked resources |
| |
On Tue, Mar 08, 2016 at 10:52:11AM -0500, Joshua Hunt wrote: > Date: Tue, 8 Mar 2016 10:52:11 -0500 > From: Joshua Hunt <johunt@akamai.com> > To: gong.chen@intel.com, linux-acpi@vger.kernel.org, rjw@rjwysocki.net, > lenb@kernel.org, ying.huang@intel.com > Cc: tony.luck@intel.com, linux-kernel@vger.kernel.org, Joshua Hunt > <johunt@akamai.com> > Subject: [PATCH v2 1/2] ACPI, APEI: Fix leaked resources > X-Mailer: git-send-email 1.7.9.5 > > We leak the NVS and arch resources (if used), in apei_resources_request. > They are allocated to make sure we exclude them from the APEI resources, > but they are never freed at the end of the function. Free them now. > > Signed-off-by: Josh Hunt <johunt@akamai.com> > Reviewed-by: Chen, Gong <gong.chen@linux.intel.com> [unhandled content-type:application/pgp-signature] | |