Re: [PATCH] ata: ahci: remove bad free

2025-04-09 Thread Tom Rini
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_u

Re: [PATCH] ata: ahci: remove bad free

2025-03-24 Thread Andre Przywara
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_u