Re: [PATCH v2 2/2] ACPI, APEI, ERST: Fixed leaked resources in erst_init

From: Chen, Gong
Date: Tue Mar 08 2016 - 20:17:01 EST


On Tue, Mar 08, 2016 at 10:52:12AM -0500, Joshua Hunt wrote:
> Date: Tue, 8 Mar 2016 10:52:12 -0500
> From: Joshua Hunt <johunt@xxxxxxxxxx>
> To: gong.chen@xxxxxxxxx, linux-acpi@xxxxxxxxxxxxxxx, rjw@xxxxxxxxxxxxx,
> lenb@xxxxxxxxxx, ying.huang@xxxxxxxxx
> Cc: tony.luck@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Joshua Hunt
> <johunt@xxxxxxxxxx>
> Subject: [PATCH v2 2/2] ACPI, APEI, ERST: Fixed leaked resources in
> erst_init
> X-Mailer: git-send-email 1.7.9.5
>
> erst_init currently leaks resources allocated from its call to
> apei_resources_init(). The data allocated there gets copied
> into apei_resources_all and can be freed when we're done with it.
>
> Signed-off-by: Josh Hunt <johunt@xxxxxxxxxx>

Reviewed-by: Chen, Gong <gong.chen@xxxxxxxxxxxxxxx>

Attachment: signature.asc
Description: Digital signature