diff options
| author | Bin Meng <[email protected]> | 2025-11-05 19:07:24 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-11-11 11:54:48 -0600 |
| commit | c6e8befd4b8da4a99c779a0fddd92690e2f611fa (patch) | |
| tree | 311fd7b80edcd6579e7ccc60b020241b0237fd4e /doc/develop | |
| parent | 749ec886046d1a5dff87aa41f3d46a06ef558169 (diff) | |
scsi: Fix the name string memory leak during scsi scan
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.
Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
