[PATCH] ata: ahci: remove bad free
Tom Rini
trini at konsulko.com
Thu Apr 10 03:46:21 CEST 2025
On Mon, 24 Mar 2025 09:34:06 +0100, Vincent Stehlé wrote:
> In the case of a memory allocation error, the ahci_port_start() function
> tries to free the `pp' pointer.
> This pointer was not dynamically allocated but does in fact point to an
> element of the port[] array member of the struct ahci_uc_priv.
> Remove the erroneous call to free() to fix this.
>
>
> [...]
Applied to u-boot/master, thanks!
[1/1] ata: ahci: remove bad free
commit: a345f44a60f57a2741cda9315312d3df28bc22f0
--
Tom
More information about the U-Boot
mailing list