[U-Boot] [PATCH] ata: ahci: fix memory leak

Simon Glass sjg at chromium.org
Mon May 6 17:06:22 UTC 2019


On Mon, 6 May 2019 at 07:18, Christian Gmeiner
<christian.gmeiner at gmail.com> wrote:
>
> malloc(..) and memalign(..) are both allocating memory and as a result
> we leak the memory allocated with malloc(..).
>
> Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
> ---
>  drivers/ata/ahci.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list