[PATCH] scsi: Fix the name string memory leak during scsi scan
Tom Rini
trini at konsulko.com
Tue Nov 11 21:14:57 CET 2025
On Wed, 05 Nov 2025 19:07:24 +0800, Bin Meng wrote:
> There is a memory leak during the scsi scan process due to the
> strdup'ed name string is never freed. Actually it is unnecessary
> to pass a strdup'ed name string to blk_create_devicef() as we can
> use the name string on the stack directly.
>
>
Applied to u-boot/master, thanks!
[1/1] scsi: Fix the name string memory leak during scsi scan
commit: c6e8befd4b8da4a99c779a0fddd92690e2f611fa
--
Tom
More information about the U-Boot
mailing list