Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/acpi



On Mon, Jun 22, 2020 at 04:14:18PM +0000, Maxime Villard wrote:
> Module Name:	src
> Committed By:	maxv
> Date:		Mon Jun 22 16:14:18 UTC 2020
> 
> Modified Files:
> 	src/sys/dev/acpi: acpi.c
> 
> Log Message:

> Fix memory leak. Found by kLSan.
> +
> +	default:
> +		ACPI_FREE(devinfo);
> +		break;
>  	}
>  
>  	return AE_OK;

I think it leaks more, i.e. AcpiGetObjectInfo() always allocates a buffer.

- Jukka


Home | Main Index | Thread Index | Old Index