Re: [PATCH] ACPICA: Don't leak next_walk_state in acpi_ds_call_control_method()

2012-10-28 Thread Rafael J. Wysocki
On Tuesday, November 25, 2008 02:42:09 PM Jesper Juhl wrote: > On Thu, 25 Oct 2012, Rafael J. Wysocki wrote: > > > On Sunday 21 of October 2012 22:35:46 Jesper Juhl wrote: > > > If acpi_ds_create_walk_state() succeeds, but the call to > > > ACPI_ALLOCATE_ZEROED() fails, then we'll return from the

Re: [PATCH] ACPICA: Don't leak next_walk_state in acpi_ds_call_control_method()

2012-10-28 Thread Jesper Juhl
On Thu, 25 Oct 2012, Rafael J. Wysocki wrote: > On Sunday 21 of October 2012 22:35:46 Jesper Juhl wrote: > > If acpi_ds_create_walk_state() succeeds, but the call to > > ACPI_ALLOCATE_ZEROED() fails, then we'll return from the function > > without properly freeing 'next_walk_state'. > > > >

Re: [PATCH] ACPICA: Don't leak next_walk_state in acpi_ds_call_control_method()

2012-10-28 Thread Jesper Juhl
On Thu, 25 Oct 2012, Rafael J. Wysocki wrote: On Sunday 21 of October 2012 22:35:46 Jesper Juhl wrote: If acpi_ds_create_walk_state() succeeds, but the call to ACPI_ALLOCATE_ZEROED() fails, then we'll return from the function without properly freeing 'next_walk_state'. Signed-off-by:

Re: [PATCH] ACPICA: Don't leak next_walk_state in acpi_ds_call_control_method()

2012-10-28 Thread Rafael J. Wysocki
On Tuesday, November 25, 2008 02:42:09 PM Jesper Juhl wrote: On Thu, 25 Oct 2012, Rafael J. Wysocki wrote: On Sunday 21 of October 2012 22:35:46 Jesper Juhl wrote: If acpi_ds_create_walk_state() succeeds, but the call to ACPI_ALLOCATE_ZEROED() fails, then we'll return from the function

Re: [PATCH] ACPICA: Don't leak next_walk_state in acpi_ds_call_control_method()

2012-10-24 Thread Rafael J. Wysocki
On Sunday 21 of October 2012 22:35:46 Jesper Juhl wrote: > If acpi_ds_create_walk_state() succeeds, but the call to > ACPI_ALLOCATE_ZEROED() fails, then we'll return from the function > without properly freeing 'next_walk_state'. > > Signed-off-by: Jesper Juhl This has to go through ACPICA

Re: [PATCH] ACPICA: Don't leak next_walk_state in acpi_ds_call_control_method()

2012-10-24 Thread Rafael J. Wysocki
On Sunday 21 of October 2012 22:35:46 Jesper Juhl wrote: If acpi_ds_create_walk_state() succeeds, but the call to ACPI_ALLOCATE_ZEROED() fails, then we'll return from the function without properly freeing 'next_walk_state'. Signed-off-by: Jesper Juhl j...@chaosbits.net This has to go

[PATCH] ACPICA: Don't leak next_walk_state in acpi_ds_call_control_method()

2012-10-21 Thread Jesper Juhl
If acpi_ds_create_walk_state() succeeds, but the call to ACPI_ALLOCATE_ZEROED() fails, then we'll return from the function without properly freeing 'next_walk_state'. Signed-off-by: Jesper Juhl --- drivers/acpi/acpica/dsmethod.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff

[PATCH] ACPICA: Don't leak next_walk_state in acpi_ds_call_control_method()

2012-10-21 Thread Jesper Juhl
If acpi_ds_create_walk_state() succeeds, but the call to ACPI_ALLOCATE_ZEROED() fails, then we'll return from the function without properly freeing 'next_walk_state'. Signed-off-by: Jesper Juhl j...@chaosbits.net --- drivers/acpi/acpica/dsmethod.c |3 ++- 1 files changed, 2 insertions(+), 1