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

2019-05-10 Thread Tom Rini
On Mon, May 06, 2019 at 03:18:54PM +0200, Christian Gmeiner wrote: > malloc(..) and memalign(..) are both allocating memory and as a result > we leak the memory allocated with malloc(..). > > Signed-off-by: Christian Gmeiner > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

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

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

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

2019-05-06 Thread Christian Gmeiner
malloc(..) and memalign(..) are both allocating memory and as a result we leak the memory allocated with malloc(..). Signed-off-by: Christian Gmeiner --- drivers/ata/ahci.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 5fafb