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

2016-03-08 Thread Chen, Gong
tel.com, linux-kernel@vger.kernel.org, Joshua Hunt > <joh...@akamai.com> > 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_resour

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

2016-03-08 Thread Chen, Gong
vger.kernel.org, Joshua Hunt > > 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 copi

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

2016-03-08 Thread Joshua Hunt
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 --- drivers/acpi/apei/erst.c |3 +++ 1 file changed, 3

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

2016-03-08 Thread Joshua Hunt
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 --- drivers/acpi/apei/erst.c |3 +++ 1 file changed, 3 insertions(+) diff